Skip to content

chore(workflows): bump claude.yml stub to @v1 and add SOURCE OF TRUTH header#80

Merged
don-petry merged 2 commits intomainfrom
chore/adopt-claude-stub
Apr 8, 2026
Merged

chore(workflows): bump claude.yml stub to @v1 and add SOURCE OF TRUTH header#80
don-petry merged 2 commits intomainfrom
chore/adopt-claude-stub

Conversation

@don-petry
Copy link
Copy Markdown
Contributor

Closes #79.

The file was already a thin caller stub but pointed at @main. Bumps to @v1 (the canonical pinned version, see petry-projects/.github#88) and prepends the standardized SOURCE OF TRUTH header.

Why this could not land in #78

claude-code-action's GitHub App refuses to mint a token for any PR whose diff includes a workflow file. With claude-code / claude previously a required status check, that turned every workflow-touching PR into a deadlock. The check is no longer required (removed yesterday from ruleset 14805963 and from classic branch protection), so the expected claude-code / claude job failure on this PR will be a non-blocking warning rather than a merge gate.

Test plan

  • actionlint clean
  • CI: claude-code / claude will fail with App token exchange failed: 401 Unauthorized (this is expected and structural, not a regression). All other checks should pass.

🤖 Generated with Claude Code

… header

Closes #79.

The file was already a thin caller stub but pointed at @main. Bumps to
@v1 (the canonical pinned version, see petry-projects/.github#88) and
prepends the standardized SOURCE OF TRUTH header so future agents know
what they may and may not edit.

This was deferred from #78 because claude-code-action's
GitHub App refuses to mint a token for any PR whose diff includes a
workflow file, and `claude-code / claude` was previously a required
status check on this repo. The check is no longer required (removed
yesterday from ruleset 14805963 and from classic branch protection),
so the expected `claude-code / claude` job failure on this PR will be
a non-blocking warning rather than a merge gate.
Copilot AI review requested due to automatic review settings April 8, 2026 16:53
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 8, 2026

Warning

Rate limit exceeded

@don-petry has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 6 minutes and 3 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 6 minutes and 3 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: d746af32-509c-4354-b946-cac89b13c212

📥 Commits

Reviewing files that changed from the base of the PR and between a3226a5 and 309b1e7.

📒 Files selected for processing (1)
  • .github/workflows/claude.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/adopt-claude-stub

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

Updates the repo’s Claude Code workflow stub to align with the org-standard centralized caller pattern by pinning the reusable workflow reference to @v1 and adding the standardized “SOURCE OF TRUTH” header for maintainability/audit compliance.

Changes:

  • Prepends the standardized SOURCE OF TRUTH / “thin caller stub” header to .github/workflows/claude.yml.
  • Updates the reusable workflow reference from @main to the pinned @v1.

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

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Apr 8, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
2 Security Hotspots

See analysis details on SonarQube Cloud

@don-petry don-petry merged commit 5d0b59d into main Apr 8, 2026
13 of 15 checks passed
@don-petry don-petry deleted the chore/adopt-claude-stub branch April 8, 2026 17:08
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.

Adopt centralized claude.yml stub (currently still inline)

2 participants