Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use bot user PAT for issue automation #48

Merged
merged 1 commit into from
Oct 20, 2020
Merged

Conversation

digitalronin
Copy link
Contributor

This action was failing with

Resource not accessible by integration

I think this relates to this issue so I'm replacing the default, automatically-provided GITHUB_TOKEN secret with a personal access token (PAC) belonging to the cloud-platform-moj github bot account (which I have added to the operations-engineering` github team).

This token has repo scope, and has been enabled for MoJ SSO, and added to this repo as the secret CLOUD_PLATFORM_MOJ_GITHUB_TOKEN

I'm hoping this will enable this action to work as it's supposed to.

This action was failing with 
```
Resource not accessible by integration
```
I think this relates to [this issue](alex-page/github-project-automation-plus#51) so I'm replacing the default, automatically-provided `GITHUB_TOKEN` secret with a personal access token (PAC) belonging to the `cloud-platform-moj github bot account (which I have added to the `operations-engineering` github team).

This token has `repo` scope, and has been enabled for MoJ SSO, and added to this repo as the secret `CLOUD_PLATFORM_MOJ_GITHUB_TOKEN`

I'm hoping this will enable this action to work as it's supposed to.
@digitalronin digitalronin merged commit 6ea3429 into main Oct 20, 2020
@digitalronin digitalronin deleted the digitalronin-patch-1 branch October 20, 2020 08:47
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 4 Code Smells

82.1% 82.1% Coverage
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants