ci(llms-full): regenerate on push:main via apra-fleet-git app#278
Closed
kumaakh wants to merge 1 commit into
Closed
ci(llms-full): regenerate on push:main via apra-fleet-git app#278kumaakh wants to merge 1 commit into
kumaakh wants to merge 1 commit into
Conversation
The previous PR-time auto-commit + push back to the PR branch caused required status checks to land on a SHA the user could not see, and forced PRs into a state where merge required CI re-runs that were suppressed by paths-ignore. Move regen to push:main only. Authenticate via the apra-fleet-git GitHub App (id 3001109), which is configured as an Integration bypass actor in the main-protection ruleset, so the regen commit lands on main without needing required status checks. Requires (one-time setup): - repo variable APRA_FLEET_GIT_APP_ID = 3001109 - repo secret APRA_FLEET_GIT_APP_PRIVATE_KEY = PEM private key
Contributor
Author
|
Superseded by the pre-commit-hook + CI-check approach. The bypass route added too much attack surface for the actual requirement. |
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.
Summary
Moves the llms-full.txt auto-regen from the PR path to a post-merge push:main path. Authenticates via the apra-fleet-git GitHub App which is configured as an Integration bypass actor in the new main-protection ruleset, so the regen commit can push directly to main without needing required status checks.
Why
The previous implementation auto-committed regenerated llms-full.txt back to PR branches as github-actions[bot]. That:
Result: every PR with a non-trivial change ended up requiring an empty-commit workaround or admin override to merge. Confirmed during the recent feat/agy-support merge.
What changed
One-time setup (needed before this PR is useful after merge)
The first push:main after merging this PR will exercise the new path. If the secret/var are missing the workflow fails visibly at the Mint app token step.
Test plan