Repository navigation
fix(release): let the daily release read the release PR's checks - #155
Merged
djessyczaplicki-genomcore merged 1 commit intoNov 19, 2026
Merged
Conversation
The release job's token lacked checks, statuses and actions read access, which gh pr checks needs; its error was discarded and a green Release check could read as missing. Same fix as inspire-factory#217. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
djessyczaplicki-genomcore
approved these changes
Nov 19, 2026
djessyczaplicki-genomcore
merged commit Nov 19, 2026
070dbc0
into
release/2026-11-19
6 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Same fix as Genomcore/inspire-factory#217, for INSPIRE's copy of the Daily release workflow.
The
releasejob's token had onlycontentsandpull-requests.gh pr checksreads the PR's check runs, statuses and each check suite's workflow run through GraphQL, which needschecks,statusesandactionsread access. In the Factory today it failed withResource not accessible by integration, its error was discarded (2>/dev/null || true), and the scheduled run refused a release PR whose Release check was green. INSPIRE's run today read the checks fine and published v0.20.0, but it relies on the same discarded error.releasejob getschecks: read,statuses: readandactions: read;Verified in the Factory with a
dry_runon the fixed workflow against its release PR: "Lista para publicar".It goes through the release branch, not a hotfix: nothing is broken in INSPIRE today. It reaches
mainwith the next release, and the cron uses it from the day after.🤖 Generated with Claude Code