Skip to content

fix(ci): grant the release stub checks: read for the tag gate - #315

Merged
rfizzle merged 1 commit into
masterfrom
fix/release-stub-checks-read
Oct 25, 2026
Merged

rfizzle merged 1 commit into
masterfrom
fix/release-stub-checks-read

Conversation

@rfizzle

@rfizzle rfizzle commented Oct 25, 2026

Copy link
Copy Markdown
Owner

Grant the release stub the permissions the hub's mod-release.yml now needs (contents: write, checks: read) and drop pull-requests: write, which nothing uses since the changelog PR was removed. Matches concord/workflow-stubs.json; check-workflow-stubs.py passes.

Closes #314

The hub release workflow's gate job verifies the tagged commit's ci / test check, which needs checks: read. pull-requests: write is no longer used.

Closes #314
@github-actions

Copy link
Copy Markdown
Contributor

Reviewed at a0c6081 · 2026-10-25 11:59 UTC

Code Review — a0c6081

Verdict: APPROVE — 0 must-fix, 0 optional

Category Score Notes
Spec alignment ✓ 3/3 acceptance criteria covered
Conventions ✓ Conventional Commits title fix(ci): … that matches the issue
Correctness ✓ CI green (ci / test). The stub's permissions now exactly match the hub contract.
Thread safety ✓ No code changes
Test coverage ✓ Workflow-only change; no logic to test
Performance ✓ No runtime impact

Acceptance criteria

Criterion Status Where / what's missing
Release stub grants checks: read so the --verify-tag gate can read the ci / test check run ✅ covered .github/workflows/release.yml:11
Drop pull-requests: write, which is no longer needed now that the changelog PR is gone ✅ covered removed from .github/workflows/release.yml
Permissions match the hub contract in concord/workflow-stubs.json (contents: write, checks: read) ✅ covered .github/workflows/release.yml:9-11 matches .concord/workflow-stubs.json:16-19 exactly

No findings.

@rfizzle
rfizzle merged commit 752a538 into master Oct 25, 2026
1 check passed
@rfizzle
rfizzle deleted the fix/release-stub-checks-read branch October 25, 2026 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Release stub lacks checks: read, so tag releases fail at the gate

1 participant