Repository navigation
Fix the security gate's base-image PR step - #76
Merged
Merged
Conversation
OpenSource-For-Freedom
marked this pull request as ready for review
October 25, 2026 13:01
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.
The Security gate has failed both of its scheduled runs. In each case every scan job passed, and the "Open a PR when the bump is earned" job failed at its last step.
Oct 12 run:
fatal: could not read Username for 'https://github.com'atgit push -u origin. Every checkout setspersist-credentials: false(zizmor requires it), so there's no stored token to push with. The earlier fix that passed the token to the push was lost in #64.Oct 5 run: the branch pushed, then
could not add label: 'dependencies' not found. The repo has nodependenciesordockerlabels, andgh pr createrefuses the whole PR when a label is missing.Changes to
security-gate.yml, "Branch, bump, PR" step:https://x-access-token:${GH_TOKEN}@github.com/...).gh pr create --head "$BRANCH" --base main, since the branch has no upstream set.New CI step in
ci.yml: "Workflow pushes carry their own token" fails if any workflow has agit pushline without an explicit token. Checked against both versions: it passes on this branch and catches line 249 on currentmain.Checked locally: YAML parses, zizmor reports no findings,
bash -npasses on the step script.After merging: run the Security gate by hand (Actions, then Security gate, then Run workflow). The Oct 12 run found a newer base digest (
6711f431...) worth bumping, so a manual run should open that PR now. If GitHub answers that Actions may not create pull requests, turn on Settings > Actions > General > "Allow GitHub Actions to create and approve pull requests".