fix(workflows): prettier formatting on feature-ideation cron comment#151
fix(workflows): prettier formatting on feature-ideation cron comment#151
Conversation
Closes #150. The canonical stub from petry-projects/.github/standards/workflows/ uses three spaces before the cron-line comment. Prettier collapses that to a single space, which made `prettier --check` fail in CI on main, breaking the CI Pipeline / build-and-test job. This applies the prettier-style fix locally so CI clears. The canonical template in petry-projects/.github should be updated to match (filed separately) so future adopters don't hit the same drift. Co-Authored-By: Claude Opus 4.6 (1M context) <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 9 minutes and 56 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: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
…stub The canonical stub had three spaces aligning the comment after the cron expression. Repos that run prettier in their lint chain (e.g. google-app-scripts) hit a `prettier --check` failure on every fresh adoption — see petry-projects/google-app-scripts#151. Bringing the template in line with prettier defaults so future adopters don't drift.
|
* fix(workflows): address CodeRabbit suggestions deferred from #87 Closes #90. 1) agent-shield-reusable.yml — SKILL.md frontmatter regex now allows optional leading whitespace (`^[[:space:]]*name:` / `^[[:space:]]*description:`), so indented YAML keys (e.g. under a `metadata:` parent) are recognised as present. Previously the strict column-zero anchor missed them. 2) dependabot-rebase-reusable.yml — fix vacuous-truth merge gate. `[].statusCheckRollup[]? | ... | all(...)` returns true on an empty list (logical convention), which made a PR with no status checks appear "all green" and trigger an auto-merge. New gate also requires at least one COMPLETED check before merging, in addition to the existing all-pass and zero-pending requirements. Also collapses the three `gh pr view` calls into one round-trip via a shared $ROLLUP. 3) dependency-audit-reusable.yml — cargo audit no longer re-runs per workspace member. The new logic finds workspace roots (Cargo.toml files containing `[workspace]`) and audits them once each, then audits standalone crates whose dir is not under any workspace root. For a workspace with N members, that's 1 audit instead of N+1. 4) dependency-audit-reusable.yml — pip-audit now audits both pyproject.toml AND requirements.txt when both exist in the same directory (some projects ship pyproject for tooling and requirements.txt for pinned runtime deps). Previously the elif branch made requirements.txt unreachable. All four were originally raised by CodeRabbit on #87 and intentionally deferred to keep that PR no-behavior-change. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix(workflows): single space before cron comment in feature-ideation stub The canonical stub had three spaces aligning the comment after the cron expression. Repos that run prettier in their lint chain (e.g. google-app-scripts) hit a `prettier --check` failure on every fresh adoption — see petry-projects/google-app-scripts#151. Bringing the template in line with prettier defaults so future adopters don't drift. --------- Co-authored-by: DJ <dj@Rachels-MacBook-Air.local> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>



Closes #150.
The canonical stub from petry-projects/.github/standards/workflows/ uses three spaces before the cron-line comment. Prettier collapses that to a single space, which made
prettier --checkfail in CI on main, breaking theCI Pipeline / build-and-testjob.Diff
Test plan
npm run checkclean locallybuild-and-testshould passFollow-up
The canonical template in petry-projects/.github has the same multi-space alignment and will keep producing this drift for new adopters. Filing a small PR there to bring it in line with prettier defaults.
🤖 Generated with Claude Code