Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
ci: add missing permissions to release and schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
c0rydoras committed Apr 22, 2024
1 parent 172519f commit bb5b700
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
packages: write
pull-requests: none
repository-projects: none
security-events: none
security-events: write # needed to write sarif to security tab
statuses: none
id-token: write # needed for signing the images with GitHub OIDC using cosign
steps:
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/schedule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,19 @@ jobs:
scan-backend:
name: Scan backend image
runs-on: ubuntu-latest
permissions:
actions: none
checks: none
contents: none
deployments: none
issues: none
packages: write
pull-requests: none
repository-projects: none
security-events: write
statuses: none
# needed for `cosign attest`
id-token: write
steps:
- uses: adfinis/[email protected]
with:
Expand Down

0 comments on commit bb5b700

Please sign in to comment.