Add workflow permissions for GHCR write and security-events
This commit is contained in:
parent
fbbfab435d
commit
ed4d5d491a
2 changed files with 10 additions and 0 deletions
5
.github/workflows/build.yaml
vendored
5
.github/workflows/build.yaml
vendored
|
|
@ -11,6 +11,11 @@ on:
|
|||
- build/*
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
security-events: write
|
||||
|
||||
env:
|
||||
GHCR_REPO: ghcr.io/trent-maetzold/protonmail-bridge
|
||||
|
||||
|
|
|
|||
5
.github/workflows/scheduled-update.yaml
vendored
5
.github/workflows/scheduled-update.yaml
vendored
|
|
@ -4,6 +4,11 @@ on:
|
|||
schedule:
|
||||
- cron: '0 6 * * *'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
security-events: write
|
||||
|
||||
env:
|
||||
GHCR_REPO: ghcr.io/trent-maetzold/protonmail-bridge
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue