fix(ci): make the Hypatia wrapper start — grant what the reusable requests - #106
Merged
Merged
Conversation
…uests The called workflow declares `permissions: security-events: write`. This caller granted `security-events: read`, so GitHub failed the call at startup on every trigger and this repository has never produced a Hypatia check or a finding. Aligns the wrapper with the estate's working template (`pull-requests: write`, `security-events: write`), passes `secrets: inherit` so the read-only HYPATIA_SCAN_PAT reaches the reusable, and names the caller `hypatia` so the published check is the canonical `hypatia / Hypatia Neurosymbolic Analysis`.
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
hypatia-scan-reusable.ymldeclarespermissions: security-events: write; this caller grantedsecurity-events: read. GitHub fails a reusable call at startup when the called workflow requests a permission the caller does not grant, so every trigger here has ended instartup_failure— the scan has never produced a check or a finding.Aligns the wrapper with the estate's working template (
pull-requests: write+security-events: write), addssecrets: inheritso the read-onlyHYPATIA_SCAN_PATreaches the reusable, and names the callerhypatiaso the published check is the canonicalhypatia / Hypatia Neurosymbolic Analysis.Found by reading check/workflow history rather than repository files: the wrapper looks fine in a file listing — it is the run that never starts.