From 6745a9a7760f270470563a933cae0f5c4e77f96a Mon Sep 17 00:00:00 2001 From: Don Petry <36422719+don-petry@users.noreply.github.com> Date: Mon, 13 Jul 2026 06:41:11 -0500 Subject: [PATCH 1/9] chore: sync 8 org-standard workflow stub(s) from petry-projects/.github --- .github/workflows/pr-review-mention.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-review-mention.yml b/.github/workflows/pr-review-mention.yml index dca2b37d..8ea55616 100644 --- a/.github/workflows/pr-review-mention.yml +++ b/.github/workflows/pr-review-mention.yml @@ -37,5 +37,5 @@ jobs: pr-review-mention: permissions: pull-requests: write - uses: petry-projects/.github/.github/workflows/pr-review-mention-reusable.yml@pr-review-mention/stable # NOSONAR(githubactions:S7637) first-party channel ref + uses: petry-projects/.github/.github/workflows/pr-review-mention-reusable.yml@pr-review-mention/v2-stable # NOSONAR(githubactions:S7637) first-party channel ref secrets: inherit From e49741505c2cbcc2d23f5584589997579bf63ceb Mon Sep 17 00:00:00 2001 From: Don Petry <36422719+don-petry@users.noreply.github.com> Date: Mon, 13 Jul 2026 06:41:13 -0500 Subject: [PATCH 2/9] chore: sync 8 org-standard workflow stub(s) from petry-projects/.github --- .github/workflows/dev-lead.yml | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dev-lead.yml b/.github/workflows/dev-lead.yml index 45fe4704..4b90ceff 100644 --- a/.github/workflows/dev-lead.yml +++ b/.github/workflows/dev-lead.yml @@ -8,9 +8,22 @@ # 2. Ensure CLAUDE_CODE_OAUTH_TOKEN is set as an org or repo secret. # 3. Optionally set GH_PAT_WORKFLOWS (required if Claude pushes workflow files). # 4. Optionally set vars.DEV_LEAD_ENGINE = "claude" | "gemini" | "copilot". +# 5. SonarCloud-gated repo? Nothing to do — the `uses:` line below already +# carries the inline `# NOSONAR(githubactions:S7637)` marker. The ref is a +# first-party reusable pinned to a moving channel/ring tag, so without the +# marker SonarCloud's githubactions:S7637 would fail the Quality Gate. The +# marker travels with this file on copy; no sonar-project.properties entry +# is needed. See https://github.com/petry-projects/.github/blob/main/standards/ci-standards.md#sonarcloud-exemption-first-party-reusable-ref-s7637. # -# UNLIKE claude.yml, this file has NO OIDC byte-for-byte constraint and may be -# freely modified on PR branches to adjust triggers for repo-specific needs. +# This stub is copied VERBATIM and is full-file identical across every adopting +# repo, modulo the per-repo ring/channel pin on the `uses:` ref and its matching +# `agent_ref` (below). Any other diff is drift, not a repo-specific liberty: +# `on:`, `permissions:`, and `concurrency:` are NOT repo-adjustable — do not trim +# a trigger, narrow a permission, or add a concurrency block on a PR branch. The +# behavior lives in the reusable, so change it there (or via a standards PR) and +# let the channel tag promote it centrally — never by editing this caller. See +# https://github.com/petry-projects/.github/blob/main/standards/ci-standards.md#centralization-tiers and +# https://github.com/petry-projects/.github/blob/main/standards/ci-standards.md#reusable-workflow-versioning--the-stable-channel. # # REQUIRED secrets: CLAUDE_CODE_OAUTH_TOKEN # OPTIONAL secrets: GH_PAT_WORKFLOWS, GOOGLE_API_KEY, GH_PAT @@ -47,10 +60,10 @@ jobs: # change to dev-lead can no longer gate its own fix (the self-host circular # dependency). Promotion is done by moving the dev-lead/stable tag centrally; this # caller is never edited on release. agent_ref threads the same channel into - # dev-lead's own scripts/prompts checkout. See ci-standards.md#dev-lead-agent. - uses: petry-projects/.github-private/.github/workflows/dev-lead-reusable.yml@dev-lead/stable # NOSONAR(githubactions:S7637) first-party channel ref + # dev-lead's own scripts/prompts checkout. See https://github.com/petry-projects/.github/blob/main/standards/ci-standards.md#dev-lead-agent. + uses: petry-projects/.github-private/.github/workflows/dev-lead-reusable.yml@dev-lead/v1-stable # NOSONAR(githubactions:S7637) first-party channel ref with: - agent_ref: dev-lead/stable + agent_ref: dev-lead/v1-stable secrets: inherit permissions: contents: write From 4b12c841c26d6f0ebde83aed76ded34ca943db3e Mon Sep 17 00:00:00 2001 From: Don Petry <36422719+don-petry@users.noreply.github.com> Date: Mon, 13 Jul 2026 06:41:20 -0500 Subject: [PATCH 3/9] chore: sync 8 org-standard workflow stub(s) from petry-projects/.github --- .github/workflows/agent-shield.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/agent-shield.yml b/.github/workflows/agent-shield.yml index 097a8071..5887d518 100644 --- a/.github/workflows/agent-shield.yml +++ b/.github/workflows/agent-shield.yml @@ -30,4 +30,4 @@ permissions: jobs: agent-shield: - uses: petry-projects/.github/.github/workflows/agent-shield-reusable.yml@agent-shield/stable # NOSONAR(githubactions:S7637) first-party channel ref + uses: petry-projects/.github/.github/workflows/agent-shield-reusable.yml@agent-shield/v2-stable # NOSONAR(githubactions:S7637) first-party channel ref From 3beabf8ba54055156dea4900425cbee5287e0fb9 Mon Sep 17 00:00:00 2001 From: Don Petry <36422719+don-petry@users.noreply.github.com> Date: Mon, 13 Jul 2026 06:41:21 -0500 Subject: [PATCH 4/9] chore: sync 8 org-standard workflow stub(s) from petry-projects/.github --- .github/workflows/auto-rebase.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto-rebase.yml b/.github/workflows/auto-rebase.yml index 65b06403..7c6f8289 100644 --- a/.github/workflows/auto-rebase.yml +++ b/.github/workflows/auto-rebase.yml @@ -48,7 +48,7 @@ permissions: {} jobs: auto-rebase: permissions: - contents: write # update-branch via GITHUB_TOKEN (may touch .github/workflows/) + contents: write # update-branch via GITHUB_TOKEN (may touch .github/workflows/) pull-requests: write # post comments on PRs - uses: petry-projects/.github/.github/workflows/auto-rebase-reusable.yml@auto-rebase/stable # NOSONAR(githubactions:S7637) first-party channel ref + uses: petry-projects/.github/.github/workflows/auto-rebase-reusable.yml@auto-rebase/v2-stable # NOSONAR(githubactions:S7637) first-party channel ref secrets: inherit From 4f9fda9f0c63a2f474ed6ada1f2a0843662701b0 Mon Sep 17 00:00:00 2001 From: Don Petry <36422719+don-petry@users.noreply.github.com> Date: Mon, 13 Jul 2026 06:41:23 -0500 Subject: [PATCH 5/9] chore: sync 8 org-standard workflow stub(s) from petry-projects/.github --- .github/workflows/dependabot-automerge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependabot-automerge.yml b/.github/workflows/dependabot-automerge.yml index fb3985b3..0a19abc7 100644 --- a/.github/workflows/dependabot-automerge.yml +++ b/.github/workflows/dependabot-automerge.yml @@ -35,5 +35,5 @@ jobs: permissions: contents: read pull-requests: read - uses: petry-projects/.github/.github/workflows/dependabot-automerge-reusable.yml@dependabot-automerge/stable # NOSONAR(githubactions:S7637) first-party channel ref + uses: petry-projects/.github/.github/workflows/dependabot-automerge-reusable.yml@dependabot-automerge/v2-stable # NOSONAR(githubactions:S7637) first-party channel ref secrets: inherit From 918dcfd60ad6933b5a13065c4df72f17c8a589fb Mon Sep 17 00:00:00 2001 From: Don Petry <36422719+don-petry@users.noreply.github.com> Date: Mon, 13 Jul 2026 06:41:30 -0500 Subject: [PATCH 6/9] chore: sync 8 org-standard workflow stub(s) from petry-projects/.github --- .github/workflows/dependabot-rebase.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dependabot-rebase.yml b/.github/workflows/dependabot-rebase.yml index 42214b4c..c40be95e 100644 --- a/.github/workflows/dependabot-rebase.yml +++ b/.github/workflows/dependabot-rebase.yml @@ -48,9 +48,9 @@ permissions: {} jobs: dependabot-rebase: permissions: - contents: write # update-branch via GITHUB_TOKEN (may touch .github/workflows/) - pull-requests: write # re-approve PRs after branch update - uses: petry-projects/.github/.github/workflows/dependabot-rebase-reusable.yml@dependabot-rebase/stable # NOSONAR(githubactions:S7637) first-party channel ref + contents: write # update-branch via GITHUB_TOKEN (may touch .github/workflows/) + pull-requests: write # re-approve PRs after branch update + uses: petry-projects/.github/.github/workflows/dependabot-rebase-reusable.yml@dependabot-rebase/v2-stable # NOSONAR(githubactions:S7637) first-party channel ref secrets: APP_ID: ${{ secrets.APP_ID }} APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }} From d00d65a1eae8e9c20364ddf861ab5b6570b86108 Mon Sep 17 00:00:00 2001 From: Don Petry <36422719+don-petry@users.noreply.github.com> Date: Mon, 13 Jul 2026 06:41:32 -0500 Subject: [PATCH 7/9] chore: sync 8 org-standard workflow stub(s) from petry-projects/.github --- .github/workflows/dependency-audit.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dependency-audit.yml b/.github/workflows/dependency-audit.yml index 5224176b..80b7b90b 100644 --- a/.github/workflows/dependency-audit.yml +++ b/.github/workflows/dependency-audit.yml @@ -1,6 +1,6 @@ # ───────────────────────────────────────────────────────────────────────────── # SOURCE OF TRUTH: petry-projects/.github/standards/workflows/dependency-audit.yml -# Standard: petry-projects/.github/standards/ci-standards.md#5-dependency-audit-dependency-auditym +# Standard: petry-projects/.github/standards/ci-standards.md#7-dependency-audit-dependency-audityml # Reusable: petry-projects/.github/.github/workflows/dependency-audit-reusable.yml # # AGENTS — READ BEFORE EDITING: @@ -30,4 +30,4 @@ permissions: jobs: dependency-audit: - uses: petry-projects/.github/.github/workflows/dependency-audit-reusable.yml@dependency-audit/stable # NOSONAR(githubactions:S7637) first-party channel ref + uses: petry-projects/.github/.github/workflows/dependency-audit-reusable.yml@dependency-audit/v2-stable # NOSONAR(githubactions:S7637) first-party channel ref From 9293684d94ffc0594edb0dc99fcc9a65eddb052f Mon Sep 17 00:00:00 2001 From: Don Petry <36422719+don-petry@users.noreply.github.com> Date: Mon, 13 Jul 2026 06:41:33 -0500 Subject: [PATCH 8/9] chore: sync 8 org-standard workflow stub(s) from petry-projects/.github --- .github/workflows/add-to-project.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/add-to-project.yml b/.github/workflows/add-to-project.yml index b737f3ca..49fdfca4 100644 --- a/.github/workflows/add-to-project.yml +++ b/.github/workflows/add-to-project.yml @@ -16,9 +16,10 @@ # • If you need different behaviour, open a PR against the reusable. # ───────────────────────────────────────────────────────────────────────────── # -# Auto-add this repo's qualifying issues, PRs, and Ideas-category discussions -# to the org-level Initiatives project -# (https://github.com/orgs/petry-projects/projects/1). +# Track this repo's issues (all, un-gated) and dev-lead-labeled PRs on the +# org-level Initiatives project +# (https://github.com/orgs/petry-projects/projects/1). Ideas live in +# Discussions and are not tracked here. # # To adopt: copy this file to .github/workflows/add-to-project.yml in your # repo. Requires the org secrets INITIATIVES_APP_ID and @@ -26,7 +27,6 @@ # app installation must include this repo. See petry-projects/.github#387. # # Tracking: petry-projects/.github#387, #415 -# Discussion: petry-projects/.github#386 name: Auto-add to Initiatives project on: @@ -34,16 +34,12 @@ on: types: [opened, labeled, unlabeled, reopened] pull_request_target: types: [opened, labeled, unlabeled, reopened, ready_for_review] - discussion: - types: [created, category_changed, deleted, transferred] permissions: {} concurrency: group: >- - add-to-project-${{ github.event_name == 'discussion' - && format('disc-{0}', github.event.discussion.number) - || format('{0}-{1}', github.event_name, + add-to-project-${{ format('{0}-{1}', github.event_name, github.event.issue.number || github.event.pull_request.number) }} cancel-in-progress: false @@ -51,7 +47,7 @@ jobs: add-to-project: permissions: contents: read - uses: petry-projects/.github/.github/workflows/add-to-project-reusable.yml@add-to-project/stable # NOSONAR(githubactions:S7637) first-party channel ref + uses: petry-projects/.github/.github/workflows/add-to-project-reusable.yml@add-to-project/stable # NOSONAR(githubactions:S7637) first-party channel ref with: project_id: PVT_kwDOD2inqs4BZq3- project_url: https://github.com/orgs/petry-projects/projects/1 From 341b9c887204285265d45e5502c340d3505fe8d4 Mon Sep 17 00:00:00 2001 From: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com> Date: Mon, 13 Jul 2026 11:44:48 +0000 Subject: [PATCH 9/9] fix(bot): address bot feedback [skip ci-relay] --- .github/workflows/add-to-project.yml | 2 +- .github/workflows/agent-shield.yml | 2 +- .github/workflows/auto-rebase.yml | 4 ++-- .github/workflows/ci-failure-analyst.yml | 2 +- .github/workflows/dependabot-automerge.yml | 2 +- .github/workflows/dependabot-rebase.yml | 6 +++--- .github/workflows/dependency-audit.yml | 2 +- .github/workflows/dev-lead.yml | 2 +- .github/workflows/feature-ideation.yml | 2 +- .github/workflows/pr-auto-review.yml | 2 +- .github/workflows/pr-review-mention.yml | 2 +- 11 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/add-to-project.yml b/.github/workflows/add-to-project.yml index 49fdfca4..5f4c9906 100644 --- a/.github/workflows/add-to-project.yml +++ b/.github/workflows/add-to-project.yml @@ -47,7 +47,7 @@ jobs: add-to-project: permissions: contents: read - uses: petry-projects/.github/.github/workflows/add-to-project-reusable.yml@add-to-project/stable # NOSONAR(githubactions:S7637) first-party channel ref + uses: petry-projects/.github/.github/workflows/add-to-project-reusable.yml@add-to-project/stable # NOSONAR(githubactions:S7637) first-party channel ref with: project_id: PVT_kwDOD2inqs4BZq3- project_url: https://github.com/orgs/petry-projects/projects/1 diff --git a/.github/workflows/agent-shield.yml b/.github/workflows/agent-shield.yml index 5887d518..db61c813 100644 --- a/.github/workflows/agent-shield.yml +++ b/.github/workflows/agent-shield.yml @@ -30,4 +30,4 @@ permissions: jobs: agent-shield: - uses: petry-projects/.github/.github/workflows/agent-shield-reusable.yml@agent-shield/v2-stable # NOSONAR(githubactions:S7637) first-party channel ref + uses: petry-projects/.github/.github/workflows/agent-shield-reusable.yml@agent-shield/v2-stable # NOSONAR(githubactions:S7637) first-party channel ref diff --git a/.github/workflows/auto-rebase.yml b/.github/workflows/auto-rebase.yml index 7c6f8289..a45c4117 100644 --- a/.github/workflows/auto-rebase.yml +++ b/.github/workflows/auto-rebase.yml @@ -48,7 +48,7 @@ permissions: {} jobs: auto-rebase: permissions: - contents: write # update-branch via GITHUB_TOKEN (may touch .github/workflows/) + contents: write # update-branch via GITHUB_TOKEN (may touch .github/workflows/) pull-requests: write # post comments on PRs - uses: petry-projects/.github/.github/workflows/auto-rebase-reusable.yml@auto-rebase/v2-stable # NOSONAR(githubactions:S7637) first-party channel ref + uses: petry-projects/.github/.github/workflows/auto-rebase-reusable.yml@auto-rebase/v2-stable # NOSONAR(githubactions:S7637) first-party channel ref secrets: inherit diff --git a/.github/workflows/ci-failure-analyst.yml b/.github/workflows/ci-failure-analyst.yml index 246d63af..7a810be3 100644 --- a/.github/workflows/ci-failure-analyst.yml +++ b/.github/workflows/ci-failure-analyst.yml @@ -41,6 +41,6 @@ jobs: if: >- github.event.check_run.conclusion == 'failure' && !startsWith(github.event.check_run.name, 'CI Failure Analyst') - uses: petry-projects/.github-private/.github/workflows/ci-failure-analyst-reusable.yml@ci-failure-analyst/stable # NOSONAR(githubactions:S7637) first-party channel ref + uses: petry-projects/.github-private/.github/workflows/ci-failure-analyst-reusable.yml@ci-failure-analyst/stable # NOSONAR(githubactions:S7637) first-party channel ref secrets: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} diff --git a/.github/workflows/dependabot-automerge.yml b/.github/workflows/dependabot-automerge.yml index 0a19abc7..a0b83321 100644 --- a/.github/workflows/dependabot-automerge.yml +++ b/.github/workflows/dependabot-automerge.yml @@ -35,5 +35,5 @@ jobs: permissions: contents: read pull-requests: read - uses: petry-projects/.github/.github/workflows/dependabot-automerge-reusable.yml@dependabot-automerge/v2-stable # NOSONAR(githubactions:S7637) first-party channel ref + uses: petry-projects/.github/.github/workflows/dependabot-automerge-reusable.yml@dependabot-automerge/v2-stable # NOSONAR(githubactions:S7637) first-party channel ref secrets: inherit diff --git a/.github/workflows/dependabot-rebase.yml b/.github/workflows/dependabot-rebase.yml index c40be95e..c527fd3a 100644 --- a/.github/workflows/dependabot-rebase.yml +++ b/.github/workflows/dependabot-rebase.yml @@ -48,9 +48,9 @@ permissions: {} jobs: dependabot-rebase: permissions: - contents: write # update-branch via GITHUB_TOKEN (may touch .github/workflows/) - pull-requests: write # re-approve PRs after branch update - uses: petry-projects/.github/.github/workflows/dependabot-rebase-reusable.yml@dependabot-rebase/v2-stable # NOSONAR(githubactions:S7637) first-party channel ref + contents: write # update-branch via GITHUB_TOKEN (may touch .github/workflows/) + pull-requests: write # re-approve PRs after branch update + uses: petry-projects/.github/.github/workflows/dependabot-rebase-reusable.yml@dependabot-rebase/v2-stable # NOSONAR(githubactions:S7637) first-party channel ref secrets: APP_ID: ${{ secrets.APP_ID }} APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }} diff --git a/.github/workflows/dependency-audit.yml b/.github/workflows/dependency-audit.yml index 80b7b90b..f4b113de 100644 --- a/.github/workflows/dependency-audit.yml +++ b/.github/workflows/dependency-audit.yml @@ -30,4 +30,4 @@ permissions: jobs: dependency-audit: - uses: petry-projects/.github/.github/workflows/dependency-audit-reusable.yml@dependency-audit/v2-stable # NOSONAR(githubactions:S7637) first-party channel ref + uses: petry-projects/.github/.github/workflows/dependency-audit-reusable.yml@dependency-audit/v2-stable # NOSONAR(githubactions:S7637) first-party channel ref diff --git a/.github/workflows/dev-lead.yml b/.github/workflows/dev-lead.yml index 4b90ceff..577ec87e 100644 --- a/.github/workflows/dev-lead.yml +++ b/.github/workflows/dev-lead.yml @@ -61,7 +61,7 @@ jobs: # dependency). Promotion is done by moving the dev-lead/stable tag centrally; this # caller is never edited on release. agent_ref threads the same channel into # dev-lead's own scripts/prompts checkout. See https://github.com/petry-projects/.github/blob/main/standards/ci-standards.md#dev-lead-agent. - uses: petry-projects/.github-private/.github/workflows/dev-lead-reusable.yml@dev-lead/v1-stable # NOSONAR(githubactions:S7637) first-party channel ref + uses: petry-projects/.github-private/.github/workflows/dev-lead-reusable.yml@dev-lead/v1-stable # NOSONAR(githubactions:S7637) first-party channel ref with: agent_ref: dev-lead/v1-stable secrets: inherit diff --git a/.github/workflows/feature-ideation.yml b/.github/workflows/feature-ideation.yml index 00f7a8c1..a302d6f9 100644 --- a/.github/workflows/feature-ideation.yml +++ b/.github/workflows/feature-ideation.yml @@ -100,7 +100,7 @@ jobs: discussions: write id-token: write actions: read - uses: petry-projects/.github/.github/workflows/feature-ideation-reusable.yml@feature-ideation/stable # NOSONAR(githubactions:S7637) first-party channel ref + uses: petry-projects/.github/.github/workflows/feature-ideation-reusable.yml@feature-ideation/stable # NOSONAR(githubactions:S7637) first-party channel ref with: # On the `discussion: created` trigger this carries the new Discussion's # number → the reusable runs single-idea enhancement mode. Empty on diff --git a/.github/workflows/pr-auto-review.yml b/.github/workflows/pr-auto-review.yml index 32b1a18a..2783397d 100644 --- a/.github/workflows/pr-auto-review.yml +++ b/.github/workflows/pr-auto-review.yml @@ -56,6 +56,6 @@ jobs: pull-requests: read checks: read actions: read - uses: petry-projects/.github/.github/workflows/pr-auto-review-reusable.yml@pr-auto-review/stable # NOSONAR(githubactions:S7637) first-party channel ref + uses: petry-projects/.github/.github/workflows/pr-auto-review-reusable.yml@pr-auto-review/stable # NOSONAR(githubactions:S7637) first-party channel ref secrets: GH_PAT_WORKFLOWS: ${{ secrets.GH_PAT_WORKFLOWS }} diff --git a/.github/workflows/pr-review-mention.yml b/.github/workflows/pr-review-mention.yml index 8ea55616..6527274b 100644 --- a/.github/workflows/pr-review-mention.yml +++ b/.github/workflows/pr-review-mention.yml @@ -37,5 +37,5 @@ jobs: pr-review-mention: permissions: pull-requests: write - uses: petry-projects/.github/.github/workflows/pr-review-mention-reusable.yml@pr-review-mention/v2-stable # NOSONAR(githubactions:S7637) first-party channel ref + uses: petry-projects/.github/.github/workflows/pr-review-mention-reusable.yml@pr-review-mention/v2-stable # NOSONAR(githubactions:S7637) first-party channel ref secrets: inherit