Repository navigation
ci: pin actions by SHA and scope write tokens - #412
Merged
Merged
Conversation
Scorecard reports 43 PinnedDependencies and 5 TokenPermissions alerts. - Pin every `uses:` to a commit SHA (tag kept as comment) and the catalog opm base image by digest. - Pin govulncheck to v1.8.0 instead of @latest. - helm-publish, release, security-scan: top-level `contents: read`; write scopes move to the jobs that use them (publish; image, sbom read, github-release; trivy-fs/trivy-image SARIF upload). - resume-after-unflag.sh: read the rate limit with `gh api` instead of piping curl into python (downloadThenRun). Behavior is unchanged. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Signed-off-by: phil <phil@keiailab.com>
KeiaiLab-PHIL
enabled auto-merge (squash)
October 6, 2026 01:35
This was referenced Oct 6, 2026
KeiaiLab-PHIL
added a commit
that referenced
this pull request
Oct 6, 2026
Security release, also a code release: tag, chart version and appVersion are aligned so release.yml builds and publishes the image. Includes: Go toolchain 1.26.8 and vulnerable module bumps (#411), workflow hardening (#412), Dependabot (#413), MongoDB 9.0 support with 9.0.2 and exporter 0.53.0 as defaults (#414), fuzz test (#422). Bundle regenerated with `make bundle VERSION=1.16.10` (ADR-0038 parity). artifacthub.io/images moves the operator to v1.16.10 and keeps the upstream mongo/exporter images whitelisted; containsSecurityUpdates is true. Signed-off-by: phil <phil@keiailab.com> Co-authored-by: Claude Fable 5.1 <noreply@anthropic.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.
What / why
Closes Scorecard PinnedDependencies (43) and TokenPermissions (5).
uses:pinned to a commit SHA, tag kept as# vNcomment (SHAs resolved viagh api repos/<a>/commits/<tag>).deploy/catalog/Dockerfileopm base pinned by index digestsha256:8872de9b…(no trailing comment on the FROM line).security-scan.yml: govulncheck pinned tov1.8.0(latest tag) instead of@latest.permissions: contents: readinhelm-publish.yml,release.yml,security-scan.yml; write scopes moved into the jobs that use them:publish: contents/packages write, pages read (unchanged set)image: packages + id-token write;sbom: packages read;github-release: contents writetrivy-fs/trivy-image: security-events write (SARIF upload)scripts/resume-after-unflag.sh:curl … | python3(downloadThenRun) replaced bygh api rate_limit --jq .resources.core.limit— same value, no download-then-execute.Verification
grep -rn 'uses:' .github/workflows | grep -v '@[0-9a-f]\{40\}' | grep -v 'docker://' | grep -v 'uses: \./'→ emptyactionlintv1.7.7 on changed workflows → clean (only pre-existing shellcheck style notes in untouched go-licenses.yml)docker buildx build --check deploy/catalogand.→ no warnings🤖 Generated with Claude Code