fix: correct reusable workflow path syntax (remove duplicate .github)#154
fix: correct reusable workflow path syntax (remove duplicate .github)#154
Conversation
The workflow references were using an incorrect path with duplicate '.github/' segment: 'petry-projects/.github/.github/workflows/...' This caused failures in all child repos trying to call these reusables because GitHub Actions couldn't find the workflow at that path. Corrected to: 'petry-projects/.github/workflows/...' This fix will resolve failing compliance PRs across markets, ContentTwin, TalkTerm, and bmad-bgreat-suite that pinned these workflows. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
|
Warning Rate limit exceeded
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 59 minutes and 13 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the 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 configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Adds validation to catch the duplicate .github/ segment issue in reusable workflow references: - BROKEN: uses: petry-projects/.github/.github/workflows/... - CORRECT: uses: petry-projects/.github/workflows/... This check will flag any workflow that incorrectly references reusable workflows from the org .github repository with the doubled path segment. This prevents future auto-generated compliance PRs from seeding the broken path syntax across all org repositories. Resolves the root cause of widespread CI failures in compliance PRs. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Follow-up: Compliance Audit Enhancement AddedIn addition to fixing the template files, I've added a new compliance audit check that will catch this issue in the future: New Check:
This ensures the issue won't recur across the org even if accidentally introduced. |
|
fix: correct reusable workflow path (remove duplicate .github/ segment) Changed: petry-projects/.github/.github/workflows/claude-code-reusable.yml To: petry-projects/.github/workflows/claude-code-reusable.yml The path syntax was incorrect. When calling a reusable workflow from another repository, the format is owner/repo/path/to/workflow. The first .github is the repository name, not a path segment. This fix resolves the "claude-code / claude" CI failure. Relates to: petry-projects/.github#154 Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>



Summary
Fixes the root cause of failing compliance PRs across 5 petry-projects repos.
Changes
petry-projects/.github/.github/workflows/claude-code-reusable.yml→petry-projects/.github/workflows/claude-code-reusable.ymlpetry-projects/.github/.github/workflows/agent-shield-reusable.yml→petry-projects/.github/workflows/agent-shield-reusable.ymlThe incorrect path with duplicate
.github/segment prevented GitHub Actions from finding the reusable workflows, causing "workflow not found" failures.Impact
This fix will unblock regeneration of failing PRs in:
These PRs were auto-generated with the broken path from these template files.
Co-Authored-By: Claude Haiku 4.5 noreply@anthropic.com