Add workflow permissions for GHCR write and security-events

This commit is contained in:
Anton 2026-03-11 19:06:37 +00:00
parent fbbfab435d
commit ed4d5d491a
2 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -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