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

Release drafter workflow has broken permissions #84

Open
daniel-beck opened this issue May 13, 2022 · 0 comments
Open

Release drafter workflow has broken permissions #84

daniel-beck opened this issue May 13, 2022 · 0 comments

Comments

@daniel-beck
Copy link
Member

daniel-beck commented May 13, 2022

Jenkins and plugins versions report

n/a

What Operating System are you using (both controller, and any agents involved in the problem)?

n/a

Reproduction steps

Tell Dependabot to merge a PR, like jenkinsci/declarative-pipeline-migration-assistant-plugin#135 (review)

Expected Results

Release Drafter run works.

Actual Results

Release Drafter does not have the permissions to do its thing. It annotates the workflow run with: Resource not accessible by integration like e.g. in https://github.com/jenkinsci/declarative-pipeline-migration-assistant-plugin/actions/runs/2183707949

Anything else?

See docs at https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#changing-github_token-permissions how to fix this.

I did that for jenkins-security-scan in 5f0c5f1

While the linked repos don't inherit from .github, I checked the workflow in this repo and expect it behaves the same.

@daniel-beck daniel-beck added the bug Something isn't working label May 13, 2022
@timja timja removed the bug Something isn't working label Oct 3, 2024
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

No branches or pull requests

2 participants