Skip to content

CI: Add issues/contents write permission to the slash commands #3874

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

Merged
merged 1 commit into from
Mar 25, 2025

Conversation

seisman
Copy link
Member

@seisman seisman commented Mar 25, 2025

The "Slash Command Dispatch" workflow needs the issue write permission to add reactions.

The "format command" workflow needs the content write permission to push changes to PRs.

Not tested, but they should work based on my understanding.

@seisman seisman added maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog final review call This PR requires final review and approval from a second reviewer labels Mar 25, 2025
@seisman seisman added this to the 0.15.0 milestone Mar 25, 2025
Comment on lines +13 to +14
permissions:
issues: write
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "Slash Command Dispatch" workflow needs the issue write permission to add reactions.

The "format command" workflow needs the content write permission to push changes to PRs.

Not tested, but they should work based on my understanding.

Not sure either, but see peter-evans/slash-command-dispatch#376 (comment)? If this doesn't work, try contents: write.

@seisman seisman merged commit e27ac51 into main Mar 25, 2025
10 checks passed
@seisman seisman deleted the ci/slash branch March 25, 2025 09:36
@seisman seisman removed the final review call This PR requires final review and approval from a second reviewer label Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants