Skip to content

ci: pin codeql-action to its commit SHA, not the tag object - #117

Merged
jamesarich merged 1 commit into
mainfrom
fix/codeql-action-commit-sha
Jul 22, 2026
Merged

ci: pin codeql-action to its commit SHA, not the tag object#117
jamesarich merged 1 commit into
mainfrom
fix/codeql-action-commit-sha

Conversation

@jamesarich

Copy link
Copy Markdown
Collaborator

The codeql-action pin was the annotated-tag OBJECT sha for v4.37.2 (26dfab68), not the commit it points to (e0647621). GitHub Actions tolerated it, but OpenSSF Scorecard's publish step rejects it as an imposter commit, and SHA-pinning must reference the commit. Repoints to the real v4.37.2 commit. (My original lookup didn't dereference the annotated tag.)

The codeql-action pin was the annotated-tag OBJECT sha for v4.37.2 (26dfab68), not the commit it points to (e0647621). GitHub Actions tolerated it, but OpenSSF Scorecard's publish step rejects it as an imposter commit, and SHA-pinning must reference the commit. Repoints to the real v4.37.2 commit. (My original lookup didn't dereference the annotated tag.)
@jamesarich
jamesarich enabled auto-merge July 22, 2026 11:46
@coderabbitai

coderabbitai Bot commented Jul 22, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@jamesarich, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 4 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: d0ea0fae-bc7c-4ed0-86d0-8cc746336ca3

📥 Commits

Reviewing files that changed from the base of the PR and between d3c185f and 0c23e95.

📒 Files selected for processing (2)
  • .github/workflows/codeql.yml
  • .github/workflows/scorecard.yml

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@jamesarich
jamesarich disabled auto-merge July 22, 2026 11:48
@jamesarich
jamesarich merged commit d52da32 into main Jul 22, 2026
8 checks passed
@jamesarich
jamesarich deleted the fix/codeql-action-commit-sha branch July 22, 2026 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant