fix(ci): keep skipped package releases green and stop sending target_commitish (#14649)
The four determine-*-version jobs ended their "already on PyPI" branch with `exit 1`, so a release with nothing new to publish reported red even though every consumer gates on `outputs.skipped` rather than on the job result. Emit the version, mark the job skipped, and exit clean. Create Release passed `commit:` (target_commitish) unconditionally. GitHub ignores that field once the tag exists, but sending it still runs the create endpoint's workflow-permission check against the resolved commit, and an Actions token is never granted the Workflows permission. The 1.11.4 release failed five attempts with "403 Resource not accessible by integration" while holding contents: write. Resolve the sha only while the tag is still missing, and spell out the release job's permissions.
E
Eric Hare committed
7a975c596eca6b596f0c19bd1374843ddbec12e2
Parent: 12b09ff
Committed by GitHub <noreply@github.com>
on 8/19/2026, 12:04:37 AM