Repository navigation
Conversation
Use a repository-scoped installation token to support an explicitly authorized protected-branch push without a PAT. Document App installation and bypass setup, guard the head commit against recursion, and make the awk increment unambiguous. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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
Closes #61.
The versioning job currently fails with
GH006: Changes must be made through a pull request. GivingGITHUB_TOKENContents write permission does not authorize bypassing that protection.GITHUB_TOKENpushes..github/CONTRIBUTING.mdunder Automated Version Bumps.Administrator setup required before merging
This PR is deliberately a draft. The session can edit repository files, but its installation token receives HTTP 403 for branch-protection, Actions secrets, and Actions variables APIs. No protection settings or secrets have been changed, and an App has not been registered or installed.
openfedem/fedem-foundation.VERSION_BUMP_APP_CLIENT_IDto the App Client ID.VERSION_BUMP_APP_PRIVATE_KEYto its private-key PEM. Do not post the key in this PR.The App bypass is not file-scoped: protect the private key and review workflows that can access it. The App does not need Administration or Workflows write permission for its version-file push.
Validation
git diff --checkpassed.cfg/VERSIONchanged, and the bump author matches the recursion guard.After setup and merge, verify that the version commit is pushed successfully, that its resulting versioning run skips the bump job, and that ordinary contributors still cannot push directly to main. Re-running the old failed run will use the old workflow; use a new push containing the updated workflow.