Skip to content

fix(ci): pin dependabot-automerge reusable workflow to SHA - #102

Merged
don-petry merged 0 commit into
mainfrom
claude/issue-87-20260414-1316
May 13, 2026
Merged

fix(ci): pin dependabot-automerge reusable workflow to SHA#102
don-petry merged 0 commit into
mainfrom
claude/issue-87-20260414-1316

Conversation

@don-petry

Copy link
Copy Markdown
Contributor

Summary

  • Pins petry-projects/.github reusable workflow from mutable tag @v1 to commit SHA 208ec2d69b75227d375edf8745d84fbac05a76b2 with a # v1 comment for readability
  • Satisfies the Action Pinning Policy which requires all GitHub Actions to be pinned to a specific commit SHA

Changes

# Before
uses: petry-projects/.github/.github/workflows/dependabot-automerge-reusable.yml@v1

# After
uses: petry-projects/.github/.github/workflows/dependabot-automerge-reusable.yml@208ec2d69b75227d375edf8745d84fbac05a76b2 # v1

SHA was resolved via: gh api repos/petry-projects/.github/git/refs/tags/v1 --jq '.object.sha'

Closes #87

Generated with Claude Code

Copilot AI review requested due to automatic review settings April 14, 2026 13:18
@coderabbitai

coderabbitai Bot commented Apr 14, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@github-actions[bot] has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 57 minutes and 34 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 57 minutes and 34 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: be5e4bb1-f728-4398-b693-6adb80dfd8e1

📥 Commits

Reviewing files that changed from the base of the PR and between fc577a0 and 0664474.

📒 Files selected for processing (1)
  • .github/workflows/dependabot-automerge.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/issue-87-20260414-1316

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 and usage tips.

@don-petry

Copy link
Copy Markdown
Contributor Author

@don-petry This PR is ready for review and merge. It pins the Dependabot auto-merge reusable workflow to a specific commit SHA to satisfy the Action Pinning Policy, closing the compliance finding in #87.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Pins the repo’s Dependabot auto-merge reusable workflow reference to an immutable commit SHA to satisfy the org action pinning policy and resolve compliance issue #87.

Changes:

  • Update .github/workflows/dependabot-automerge.yml to use petry-projects/.github reusable workflow pinned to commit 208ec2d69b75227d375edf8745d84fbac05a76b2 (with # v1 comment).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@don-petry

don-petry commented Apr 16, 2026

Copy link
Copy Markdown
Contributor Author
Outdated review (superseded by re-review at 0664474e6f29aea1b7fe91d874c5405d57316ddc) — click to expand.

Automated review — APPROVED

Risk: LOW
Reviewed commit: ba4f1b3a55298e398379b457caff5cdc1e56cc86
Cascade: triage → deep (see triage: haiku 4.5 → deep: sonnet 4.6 + duck: gpt-5.4 → audit: opus 4.6 for models)

Note: GitHub prevents approving one's own PR; verdict posted as a comment.

Summary

Single-line CI workflow change that pins a reusable workflow reference from the mutable tag @v1 to its immutable commit SHA, satisfying the org Action Pinning Policy. The SHA was independently verified to match the v1 tag in petry-projects/.github. All CI gates (CodeQL, SonarCloud, AgentShield, dependency audit) pass with no issues.

Findings

Info

  • [info] .github/workflows/dependabot-automerge.yml:39 — SHA 208ec2d69b75227d375edf8745d84fbac05a76b2 independently verified via GitHub API to match the v1 tag in petry-projects/.github — the pin is accurate. (category: security-improvement)
  • [info] CI status — All CI checks pass: CodeQL (actions + python), SonarCloud (0 new issues, 0 security hotspots), AgentShield, Claude Code, dependency audit, CodeRabbit. (category: ci-status)
  • [info] .github/workflows/dependabot-automerge.yml:40secrets: inherit is used to forward secrets to the reusable workflow — this is a pre-existing pattern not introduced by this PR, appropriate for a Dependabot auto-merge workflow that requires GitHub token access. (category: pre-existing)

Minor

  • [minor] .github/workflows/dependabot-automerge.yml:39 — The # v1 comment is a good practice that aids readability; teams should update this comment whenever the pinned SHA is intentionally upgraded to a new version of the reusable workflow. (category: maintainability)

CI status

All CI checks pass: CodeQL (actions + python), SonarCloud (0 new issues, 0 security hotspots), AgentShield, Claude Code, dependency audit, CodeRabbit.


Reviewed by the don-petry PR-review cascade (triage: haiku 4.5 → deep: sonnet 4.6 + duck: gpt-5.4 → audit: opus 4.6). Reply with @don-petry if you need a human.

@github-actions

Copy link
Copy Markdown
Contributor

Auto-rebase failed — merge conflict — this branch has conflicts with main that must be resolved manually.

Please resolve the conflicts and push:

git fetch origin
git merge origin/main
# resolve conflicts, then:
git add .
git commit
git push

@petry-projects-pr-review-agent petry-projects-pr-review-agent Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed by the don-petry PR-review cascade (triage: haiku 4.5 → deep: sonnet 4.6 + duck: gpt-5.4 → audit: opus 4.6). Reply with @don-petry if you need a human.

@petry-projects-pr-review-agent petry-projects-pr-review-agent Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed by the don-petry PR-review cascade (triage: haiku 4.5 → deep: sonnet 4.6 + duck: gpt-5.4 → audit: opus 4.6). Reply with @don-petry if you need a human.

@donpetry-bot donpetry-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed by the don-petry PR-review cascade (triage: haiku 4.5 → deep: sonnet 4.6 + duck: gpt-5.4 → audit: opus 4.6). Reply with @don-petry if you need a human.

@don-petry don-petry closed this May 13, 2026
auto-merge was automatically disabled May 13, 2026 17:14

Pull request was closed

@don-petry
don-petry force-pushed the claude/issue-87-20260414-1316 branch from 0664474 to e6e0523 Compare May 13, 2026 17:14
@don-petry
don-petry merged commit e6e0523 into main May 13, 2026
555 of 558 checks passed
@don-petry
don-petry deleted the claude/issue-87-20260414-1316 branch May 13, 2026 17:14
@sonarqubecloud

Copy link
Copy Markdown

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.

Compliance: unpinned-actions-dependabot-automerge.yml

3 participants