Skip to content

fix: pin agent-shield reusable workflow to SHA#222

Open
don-petry wants to merge 2 commits intomainfrom
claude/issue-154-20260420-0033
Open

fix: pin agent-shield reusable workflow to SHA#222
don-petry wants to merge 2 commits intomainfrom
claude/issue-154-20260420-0033

Conversation

@don-petry
Copy link
Copy Markdown
Collaborator

@don-petry don-petry commented Apr 20, 2026

Summary

  • Pins petry-projects/.github/.github/workflows/agent-shield-reusable.yml from @v1 to @ee22b427cbce9ecadcf2b436acb57c3adf0cb63d # v1
  • Resolves the action-pinning compliance finding in the weekly audit

The v1 tag now points to commit ee22b427cbce9ecadcf2b436acb57c3adf0cb63d (it had moved since the previous attempt at PR #178 which used ae9709f4...).

Closes #154

Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated continuous integration workflow configuration to use a pinned workflow version for improved consistency and stability.

Pin petry-projects/.github/.github/workflows/agent-shield-reusable.yml
from @v1 to @ee22b427cbce9ecadcf2b436acb57c3adf0cb63d # v1 to satisfy
the action-pinning compliance requirement.

Closes #154

Co-authored-by: don-petry <don-petry@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 20, 2026 00:34
@don-petry
Copy link
Copy Markdown
Collaborator Author

@don-petry — this PR pins the agent-shield-reusable.yml workflow to its current SHA (ee22b427) to resolve the action-pinning compliance finding in issue #154. Please review and merge when ready.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 20, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 74f87e3a-8d94-46d5-a072-f6d0eb919bec

📥 Commits

Reviewing files that changed from the base of the PR and between 92719c9 and 391f10b.

📒 Files selected for processing (1)
  • .github/workflows/agent-shield.yml

📝 Walkthrough

Walkthrough

Updated the reusable workflow reference in .github/workflows/agent-shield.yml from a floating tag (@v1) to a pinned commit SHA (@ee22b427cbce9ecadcf2b436acb57c3adf0cb63d), ensuring deterministic workflow execution and compliance with action-pinning standards.

Changes

Cohort / File(s) Summary
GitHub Actions Configuration
.github/workflows/agent-shield.yml
Pinned reusable workflow reference from floating @v1 tag to specific commit SHA for reproducible and compliant workflow execution.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related issues

Possibly related PRs

  • google-app-scripts#146: Both PRs modify the .github/workflows/agent-shield.yml workflow file's reusable-workflow reference, with this PR pinning the previously unpinned reference to a specific commit SHA.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and accurately summarizes the main change: pinning the agent-shield reusable workflow reference to a specific SHA.
Linked Issues check ✅ Passed The pull request successfully addresses issue #154 by pinning the agent-shield reusable workflow from @v1 to the specific commit SHA, achieving full compliance with the action-pinning policy.
Out of Scope Changes check ✅ Passed All changes are directly related to addressing the compliance finding in issue #154; only the workflow reference was modified with no extraneous alterations.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/issue-154-20260420-0033

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.

@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 AgentShield reusable workflow reference to an immutable commit SHA to satisfy the org action-pinning compliance standard.

Changes:

  • Update .github/workflows/agent-shield.yml to use petry-projects/.github/.../agent-shield-reusable.yml@ee22b427cbce9ecadcf2b436acb57c3adf0cb63d instead of @v1.

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-agent-shield.yml

2 participants