You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[plan] Add actions: read permission to activation job when hash check API step is emitted #24972
Issue #24949 reports that the compiled activation job fails with Error: Resource not accessible by integration when the hash check step calls github.rest.actions.getWorkflowRun(). This requires the actions: read permission, but the compiler only emits contents: read in the activation job's permissions: block.
Root Cause
The compiler emits the check_workflow_timestamp_api.cjs step (which calls the Actions REST API) in the activation job, but does not add actions: read to the job's permissions:. Since GitHub Actions enforces explicit permissions when any permissions: block is present, the token lacks the required scope.
Required Fix
In the workflow compiler (likely in pkg/workflow/), when the check_workflow_timestamp_api.cjs step is emitted for the activation job:
Locate where the activation job's permissions: block is constructed
Add actions: read to the permissions map whenever the hash check API step is included
The Go compiler file(s) in pkg/workflow/ that build the activation job YAML (look for contents: read, permissions, or check_workflow_timestamp_api references)
Acceptance Criteria
Compiled activation job includes actions: read in its permissions: block when the hash check API step is present
Existing test for activation job permissions is updated (or new test added) to assert actions: read is emitted
Activity
github-actions commentedon Apr 6, 2026
🍪 Issue Monster has assigned this to Copilot!
I've identified this issue as a good candidate for automated resolution and assigned it to the Copilot coding agent.
The Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
Note
🔒 Integrity filter blocked 1 item
The following item were blocked because they don't meet the GitHub integrity level.
issue_read: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".To allow these resources, lower
min-integrityin your GitHub frontmatter: