Skip to content

fix: pin feature-ideation.yml reusable workflow to SHA#102

Open
don-petry wants to merge 2 commits intomainfrom
claude/issue-88-20260414-1246
Open

fix: pin feature-ideation.yml reusable workflow to SHA#102
don-petry wants to merge 2 commits intomainfrom
claude/issue-88-20260414-1246

Conversation

@don-petry
Copy link
Copy Markdown
Contributor

Summary

  • Pins petry-projects/.github/.github/workflows/feature-ideation-reusable.yml from @v1 to its resolved SHA 208ec2d69b75227d375edf8745d84fbac05a76b2 to satisfy the action-pinning compliance policy
  • Syncs the file with the latest upstream template: adds the dry_run workflow_dispatch input

Closes #88

Generated with Claude Code

Pin `petry-projects/.github/.github/workflows/feature-ideation-reusable.yml`
from `@v1` to its resolved SHA `208ec2d69b75227d375edf8745d84fbac05a76b2`
to satisfy the action-pinning compliance policy.

Also syncs the file with the latest upstream template: adds the `dry_run`
workflow_dispatch input that was added after the initial copy.

Co-authored-by: don-petry <don-petry@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 14, 2026 12:48
@don-petry
Copy link
Copy Markdown
Contributor Author

PR is ready for review. No CODEOWNERS file found — @don-petry please review and merge when CI passes.

@sonarqubecloud
Copy link
Copy Markdown

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 14, 2026

Warning

Rate limit exceeded

@github-actions[bot] has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 43 minutes and 59 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 43 minutes and 59 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: 5fdf8d4b-3410-4689-b997-2e6df8cf810b

📥 Commits

Reviewing files that changed from the base of the PR and between bca8483 and 2573671.

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

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.

Copy link
Copy Markdown

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 org-wide reusable “Feature Research & Ideation” workflow reference to a specific commit SHA to satisfy the action-pinning compliance policy, and syncs the caller stub with the latest upstream interface.

Changes:

  • Pin petry-projects/.github/.github/workflows/feature-ideation-reusable.yml from @v1 to a resolved commit SHA.
  • Add a dry_run workflow_dispatch input and forward it to the reusable workflow.

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

include A, B, C. Key emerging trends in this space: X, Y, Z."
focus_area: ${{ inputs.focus_area || '' }}
research_depth: ${{ inputs.research_depth || 'standard' }}
dry_run: ${{ inputs.dry_run || false }}
Copy link

Copilot AI Apr 14, 2026

Choose a reason for hiding this comment

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

workflow_dispatch inputs are often surfaced as strings (e.g., 'true'/'false'). Using inputs.dry_run || false can therefore produce the string 'false' on a manual dispatch, which is truthy in GitHub expressions and can cause the reusable workflow to treat dry_run as enabled. Consider coercing to a real boolean (e.g., compare to 'true' or use fromJSON(inputs.dry_run)) before passing it to the reusable workflow.

Suggested change
dry_run: ${{ inputs.dry_run || false }}
dry_run: ${{ inputs.dry_run == true || inputs.dry_run == 'true' }}

Copilot uses AI. Check for mistakes.
@@ -75,7 +80,7 @@ jobs:
pull-requests: read
discussions: write
id-token: write
Copy link

Copilot AI Apr 14, 2026

Choose a reason for hiding this comment

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

The header guidance says you “MUST NOT change … the uses: line”, but this PR legitimately changes it to pin to a SHA for compliance. To avoid future confusion (and reduce the risk of someone reverting the pin), update the guidance to explicitly allow/require SHA pin updates while still forbidding changing the referenced reusable workflow path.

Suggested change
id-token: write
id-token: write
# Keep the reusable workflow path unchanged unless the standard itself moves.
# Update the pinned commit SHA when adopting a newer approved standard version
# or when compliance/security policy requires refreshing the pin.

Copilot uses AI. Check for mistakes.
@don-petry
Copy link
Copy Markdown
Contributor Author

Automated review — APPROVED

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

Summary

This PR pins a reusable workflow reference from a mutable @v1 tag to an immutable SHA (208ec2d69b75227d375edf8745d84fbac05a76b2), which is a security improvement satisfying the org's action-pinning compliance policy (issue #88). It also adds a boolean dry_run dispatch input and forwards it to the reusable workflow — a trivial, safe change. All CI checks pass (CodeQL, SonarCloud Quality Gate, AgentShield, CodeRabbit) with zero new issues or security hotspots.

Findings

Info

  • [info] .github/workflows/feature-ideation.yml:83 — Workflow reference changed from mutable @v1 tag to pinned SHA 208ec2d69b75227d375edf8745d84fbac05a76b2 — this is the correct, secure direction per the action-pinning policy. The # v1 comment preserves human-readable intent.
  • [info] .github/workflows/feature-ideation.yml:95dry_run input declared as boolean with default:false and forwarded via ${{ inputs.dry_run || false }}. The expression is safe — it is a typed boolean used as a reusable workflow with parameter, not interpolated into a shell command, so no injection risk exists.
  • [info] CI status — All status checks green: CodeQL SUCCESS, SonarCloud SUCCESS (0 new issues, 0 security hotspots), AgentShield SUCCESS, CodeRabbit SUCCESS. Merge is blocked only on missing approving review, not on failing checks.

CI status

All checks green: CodeQL, SonarCloud Quality Gate (0 new issues, 0 security hotspots), AgentShield, CodeRabbit. Branch is BLOCKED only pending an approving review.

Note: GitHub prevents self-approval; this verdict is posted as a comment. A human reviewer must click Approve to unblock merge.


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 enabled auto-merge (squash) April 16, 2026 21: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.

Compliance: unpinned-actions-feature-ideation.yml

2 participants