Repository navigation
fix(standards-sync): mint the App token via client-id - #59
Conversation
|
Claude finished @kyle-sexton's task in 50s —— View job PR Review
Overall: Approve. This is a clean, well-scoped deprecation migration. All references to the old FindingsCorrectness — all call sites updated consistently All four mutation points are coherent:
No stale SHA pin is unchanged and correct The Breaking change is safe This is a breaking interface change for callers: any consumer currently passing No security regressions
No issues requiring changes. The PR is ready to merge. |
actions/create-github-app-token deprecated app-id in favor of client-id (every real sync run annotated a deprecation warning). Rename the workflow_call secret to app-client-id to match; the sole caller (standards sync.yml) flips in lockstep with its next pin bump. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01GbDWhcUtduCejgi7mcbMfy
## Summary WP-13 (Execution Plan: https://claude.ai/code/artifact/1f2e97bf-823a-4221-99df-b36e7a7f2a55). Closes decision #16, confirms #17 as still correctly a no-op (Decisions Log: https://claude.ai/code/artifact/232ecdce-8316-4880-8c0a-dc3c7dcf3a63). Generalizes `melodic-software/provisioning`'s `pr-body.yml` (decisions #58/#59, already built and verified this session) into a shared reusable workflow, mirroring `pr-title.yml`'s own history: a repo-specific implementation first, then a shared workflow other repos call. The ported logic is verbatim from provisioning's proven, working implementation — not rewritten — so behavior is identical: a native closing keyword (`Closes`/`Fixes`/`Resolves #N`, including `owner/repo#N`, or `"No linked issue"`) plus a non-empty `## Related` section, with HTML comments stripped first so an unedited PR template (whose instructional prose lives in comments) fails rather than passing vacuously. `provisioning`'s own `pr-body.yml` caller is untouched — its PR predates this workflow and isn't required to switch; its own file comment already flagged "wiring it into github-iac's ci-gate ruleset is a follow-up (out of scope for this repo)", which is exactly the shared-workflow path this PR opens for every other repo. **Deliberately not done here**, same shape as WP-2's `do-not-merge-gate` sequencing: rolling out per-repo callers (up to 9 `requires-ci` repos) and adding the `pr-issue-linkage / pr-issue-linkage` required check to `github-iac`'s `ci-gate` ruleset. Both need this PR's merge-commit SHA to pin to, and the ruleset entry specifically must not land before every caller exists and reports green, or open PRs across the org block on a check that never runs. Queued as explicit follow-up work. ## Verification - New `.github/scripts/pr-issue-linkage.test.cjs`: extracts the inline `actions/github-script` body (same technique used to verify the equivalent block ported into medley's `issue-labeling.yml` this session) and runs it in a `vm` sandbox against 9 cases: closing-keyword variants (Fixes/Resolves/past-tense/cross-repo), "No linked issue", missing-both failure naming both problems, an empty Related section, an unedited-template-still-fails proof, a commented-out closing keyword not counting, and case-insensitivity. All 9 pass — confirms the ported logic matches the original byte-for-byte in behavior. - `actionlint`: clean. - `markdownlint-cli2`, `lychee --offline`: clean on the README changes. - `typos`: clean on all 3 files. Opened as draft — leaving merge-ready work queued for review rather than merging autonomously.


Summary
actions/create-github-app-token@v3deprecatesapp-idforclient-id(upstream recommends the client ID as the JWT issuer); the pilot sync run annotated the deprecation warning on every leg. Renames the reusable workflow's secret toapp-client-idand passes it asclient-id. The sole caller (standards.github/workflows/sync.yml) flips secret names in lockstep with its next pin bump (same activation batch).Verification
actionlint + zizmor clean locally; no remaining
app-idreferences in the workflow.🤖 Generated with Claude Code
https://claude.ai/code/session_01GbDWhcUtduCejgi7mcbMfy
Note
Low Risk
CI-only secret/input rename with no change to sync logic; callers must wire the renamed secret before non–dry-run runs.
Overview
Aligns the reusable standards-sync workflow with
actions/create-github-app-token@v3, which deprecatesapp-idin favor ofclient-idas the JWT issuer.The workflow secret is renamed from
app-idtoapp-client-id, credential checks and error messages use that name, and the mint step passesclient-idinstead ofapp-id. Callers that run withdry-run: falsemust supply the App client ID under the new secret name (the PR description notes thestandardscaller updates in the same activation batch).Reviewed by Cursor Bugbot for commit 461c77f. Bugbot is set up for automated code reviews on this repo. Configure here.