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

Use a GitHub app for syncing rocm-main and upstream main #224

Open
wants to merge 1 commit into
base: rocm-main
Choose a base branch
from

Conversation

charleshofer
Copy link
Collaborator

Currently, the nightly sync job fails if upstream makes changes to some of its CI workflows, even for workflow files that we don't use. Workflow files change probably every other day, so this means that I spend some time every other day having to babysit the sync job.

The default GitHub runner account disallows making changes to workflow files for security reasons. However, you can change workflow files if you run the workflow using a GitHub App instead of the default runner account. Divin created an app for us that should have all the right permissions. I've added the ID and key for it to this repo, and this PR adds a step that will generate a token that Actions can use to authenticate to the GitHub API as the app.

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.

1 participant