mirror of
https://github.com/edera-dev/sprout.git
synced 2026-11-04 17:32:20 +00:00
The publish job ran for pull requests with contents: write, id-token: write, and attestations: write, while running build code from the pull request. None of these were needed there: uploading artifacts doesn't need contents: write, and attestation was already skipped for pull requests. Build with read-only permissions, and attest in a separate job that only runs on pushes to main.