Skip to content

Conversation

@27Bslash6
Copy link
Contributor

Summary

  • Add checks: write permission to security-fast.yml workflow
  • Fixes "Resource not accessible by integration" error from rustsec/audit-check

Problem

The rustsec/audit-check@v2 action creates check runs via the GitHub Checks API (POST /repos/{owner}/{repo}/check-runs), which requires the checks: write permission. The workflow only had security-events: write, which is for SARIF uploads (a different API).

Fix

Added checks: write to the permissions block.

Closes the failing run: https://github.com/cachekit-io/cachekit-py/actions/runs/20328172614/job/58397508291

The rustsec/audit-check action creates check runs via the GitHub
Checks API, which requires checks:write permission. Without it,
the action fails with "Resource not accessible by integration".
@27Bslash6 27Bslash6 merged commit 2bfb833 into main Dec 18, 2025
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants