-
Notifications
You must be signed in to change notification settings - Fork 213
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
Switch to official GitHub action for managing app tokens #3164
Labels
Milestone
Comments
Meaning changing pygmt/.github/workflows/format-command.yml Lines 13 to 18 in 1633975
to # Generate token from GenericMappingTools bot
- uses: actions/create-github-app-token@v1.9
id: generate-token
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }} |
Yes, that should work. |
Thank! I summited PR #3165 with this change. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Currently, we're using the
tibdex/github-app-token
action to generate PAT tokens which are used in the/format
slash command (initially proposed in #645 (comment)).It seems that GitHub now provides an official action for this purpose (https://github.com/actions/create-github-app-token). I think we should try to switch to the official one. Looking at this PR (dependabot/dependabot-core#9340), it seems we just need to update the action name and the action input names.
xref:
actions/create-github-app-token
? tibdex/github-app-token#99The text was updated successfully, but these errors were encountered: