Repository navigation
ci: open Weaver sync PRs with the GitHub App - #43
Merged
Merged
Conversation
Sync templates with the org GitHub App token instead of PAT_GITHUB.
The app-id input of actions/create-github-app-token is deprecated. Use the public client ID instead.
|
Keep the client ID alongside the private key as an org secret instead of inline.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Run the template sync with the org GitHub App (
allons-y-studio-bot) instead of thePAT_GITHUBsecret.Why
Weaver opens PRs in other repositories. The app token starts CI on them & drops a personal token.
How
APP_CLIENT_ID&APP_PRIVATE_KEYwithownerset to the org, so it covers every repository the app is installed on, not only this one.actions-weaveruse it.workflowspermission.Test plan
Run "Sync templates" manually (
workflow_dispatch) after merge:allons-y-studio-bot[bot].