fix: resource not accessible by integration#91
Open
hieu-w wants to merge 3 commits into
Open
Conversation
Mrtenz
requested changes
Jun 23, 2026
Mrtenz
left a comment
Member
There was a problem hiding this comment.
Blocking this while waiting for response on Slack.
Mrtenz
reviewed
Jun 24, 2026
Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
Mrtenz
approved these changes
Jun 24, 2026
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
Adds
actions: readpermission to thezizmorjob in the security scan workflow to fix "resource not accessible by integration" errors.Changes
actions: readon thezizmorjob alongside existingcontents: readandsecurity-events: writepermissionsWhy
The zizmor job analyzes GitHub Actions workflows and needs read access to Actions resources. Without this permission, the job fails when running via the GitHub App integration.
Test plan
Note
Low Risk
Single read-only permission on one CI job; aligns zizmor with existing scan jobs and does not broaden write or deployment access.
Overview
Fixes the zizmor job in the security scan workflow failing with "resource not accessible by integration" when the scan runs via the GitHub App (notably on private repos).
Adds
actions: readto that job’s permissions so it matches CodeQL and Semgrep, which already use the same trio (actions: read,contents: read,security-events: write). zizmor needs Actions API access to analyze workflow files.CHANGELOG records the fix under Unreleased → Fixed.
Reviewed by Cursor Bugbot for commit 9f7a73b. Bugbot is set up for automated code reviews on this repo. Configure here.