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

Generate token for create-pull-request action using an app. #391

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

ScottTodd
Copy link
Member

@ScottTodd ScottTodd commented Jan 15, 2025

- uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1.11.1
id: generate-token
with:
app-id: ${{ secrets.CREATE_PULL_REQUEST_TOKEN_APP_ID }}
Copy link
Member Author

Choose a reason for hiding this comment

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

BTW @marbre we discussed assigning a github team as a reviewer. For now I did not grant this permission, but we can pretty easily add it if/when we want to do that.

Under Organization permissions: Members select Access: Read-only.
NOTE: Only needed if you would like add teams as reviewers to PRs.

https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#authenticating-with-github-app-generated-tokens

@ScottTodd ScottTodd merged commit 3287dea into main Jan 16, 2025
10 of 11 checks passed
@ScottTodd ScottTodd deleted the users/scotttodd/app-token branch January 16, 2025 23:06
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.

3 participants