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

ci: add missing permissions to release and schedule #1063

Merged
merged 1 commit into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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