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

Merged
merged 1 commit into from
Feb 13, 2025

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.

Copy link

@Ruturaj4 Ruturaj4 left a comment

Choose a reason for hiding this comment

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

LGTM

@charleshofer charleshofer merged commit 79c0cd4 into rocm-main Feb 13, 2025
8 checks passed
@charleshofer charleshofer deleted the use-github-app-for-sync branch February 13, 2025 17:05
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.

2 participants