Skip to content

chore: sync 1 org-standard workflow stub(s) from petry-projects/.github - #468

Merged
don-petry merged 3 commits into
mainfrom
standards-sync/workflows-20260721
Jul 21, 2026
Merged

chore: sync 1 org-standard workflow stub(s) from petry-projects/.github#468
don-petry merged 3 commits into
mainfrom
standards-sync/workflows-20260721

Conversation

@don-petry

Copy link
Copy Markdown
Collaborator

Syncs the following org-standard workflow stub(s) from petry-projects/.github (standards/workflows/), deployed verbatim:

  • initiative-driver.yml

Opened by scripts/deploy-standard-workflows.sh. Stubs are thin callers; all behaviour lives in the reusables. See standards/ci-standards.md. Labeled standards-sync and left for the normal review/auto-merge pipeline — the deploy script never merges directly.

Copilot AI review requested due to automatic review settings July 21, 2026 21:45
@don-petry don-petry added the standards-sync Org-standard workflow stub synced from petry-projects/.github label Jul 21, 2026
@don-petry
don-petry requested a review from a team as a code owner July 21, 2026 21:45
@don-petry don-petry added the standards-sync Org-standard workflow stub synced from petry-projects/.github label Jul 21, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@don-petry, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 34 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: b096eb3d-3122-41e0-a9a5-a4d76b7788cc

📥 Commits

Reviewing files that changed from the base of the PR and between 27f1e72 and 4f87d53.

📒 Files selected for processing (2)
  • .github/workflows/initiative-driver.yml
  • .prettierignore
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch standards-sync/workflows-20260721

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.

@don-petry

Copy link
Copy Markdown
Collaborator Author

Dev-Lead — review-changes (no-changes)

No changes were needed for this PR.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds the org-standard Initiative Driver GitHub Actions workflow stub to this repository. This workflow is a thin dispatcher that triggers the centralized initiative-driver.yml in petry-projects/.github-private, allowing the central driver to sweep this repo’s initiative:auto epics without each repo running the full driver logic.

Changes:

  • Add .github/workflows/initiative-driver.yml dispatcher workflow triggered on issues close/label events, schedule, and manual dispatch.
  • Add a PAT guard and gh workflow run dispatch to the central driver with target_repo=${{ github.repository }}.

Comment on lines +33 to +37
# 3. Confirm the org-level secret GH_PAT_WORKFLOWS is accessible **and its
# owner has write access to petry-projects/.github-private** (to dispatch
# the central workflow) **and to this repo** (the central driver applies the
# `dev-lead` label cross-repo with that PAT; a label applied with
# GITHUB_TOKEN would not trigger dev-lead).

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Fixed in .github/workflows/initiative-driver.yml: removed the secrets.GH_PAT_DON_PETRY || fallback from both GH_TOKEN expressions, so the only accepted secret is now GH_PAT_WORKFLOWS — matching what the adoption notes in the header already document. Operators following the adoption steps will no longer be misled.

GH_TOKEN: ${{ secrets.GH_PAT_DON_PETRY || secrets.GH_PAT_WORKFLOWS }}
run: |
if [ -z "${GH_TOKEN}" ]; then
echo "::error::GH_PAT_WORKFLOWS is required — a workflow_dispatch fired with GITHUB_TOKEN never starts a run."

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Fixed alongside the thread above: both GH_TOKEN env expressions now use only secrets.GH_PAT_WORKFLOWS (no GH_PAT_DON_PETRY fallback), so the guard error message — GH_PAT_WORKFLOWS is required — is now accurate and matches the actual requirement.

Comment on lines +48 to +50
schedule:
- cron: "41 3 * * *" # off-peak safety net for missed close events
workflow_dispatch:

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Added .github/workflows/initiative-driver.yml to .prettierignore (option b), following the same pattern already used for dev-lead.yml. This prevents Prettier from reformatting the file on future syncs and eliminates the risk of byte-drift from the org source of truth.

Fixed cron expression quote style to comply with Prettier.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@don-petry

Copy link
Copy Markdown
Collaborator Author

Dev-Lead — fix-bot-comment (applied)

Changes committed and pushed.

@don-petry
don-petry enabled auto-merge (squash) July 21, 2026 21:51
@don-petry
don-petry disabled auto-merge July 21, 2026 21:52
@don-petry

Copy link
Copy Markdown
Collaborator Author

Dev-Lead — review-changes (applied)

Changes committed and pushed.

@don-petry
don-petry enabled auto-merge (squash) July 21, 2026 21:55
@don-petry
don-petry disabled auto-merge July 21, 2026 21:55
@don-petry
don-petry merged commit 2e33355 into main Jul 21, 2026
17 of 18 checks passed
@don-petry
don-petry deleted the standards-sync/workflows-20260721 branch July 21, 2026 21:56
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

standards-sync Org-standard workflow stub synced from petry-projects/.github

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants