Add GitHub App authentication for cross-fork PR creation#75252
Add GitHub App authentication for cross-fork PR creation#75252hbhushan3 wants to merge 1 commit into
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hbhushan3 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
[REHEARSALNOTIFIER]
Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals. Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
Issues in openshift/release go stale after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
Stale issue in openshift/release rot after 15d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
|
Important Review skippedAuto reviews are limited based on label configuration. 🚫 Review skipped — only excluded labels are configured. (1)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Rotten issues in openshift/release close after 15d of inactivity. Reopen the issue by commenting /close |
|
@openshift-bot: Closed this PR. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
Rotten issues in openshift/release close after 15d of inactivity. Reopen the issue by commenting /close |
Wait for openshift/ci-tools#4963 to merge.
Add GitHub App authentication for cross-fork PR creation
Problem
The
periodic-ci-Azure-ARO-HCP-main-image-updater-image-updater-toolingjob fails to create PRs againstAzure/ARO-HCPbecause Microsoft enterprise policy blocks GitHub REST API calls from PATs with >90-day lifetime.Solution
Use a GitHub App (
aro-hcp-image-bumper) to create cross-fork PRs via prcreator's new--pr-app-idand--pr-app-private-key-pathflags. The PAT is still used for fork detection andgit push; the App token handles PR creation withmaintainer_can_modify: falseto avoidfork_collaberrors.Changes
GITHUB_APP_ID_PATH/GITHUB_APP_KEY_PATHenv vars and mountaro-hcp-image-bumpersecretJIRA
AROSLSRE-452