mirror of
https://github.com/shenxn/protonmail-bridge-docker.git
synced 2026-03-26 21:35:58 +00:00
Add workflow permissions for GHCR write and security-events
This commit is contained in:
parent
fbbfab435d
commit
ed4d5d491a
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…
Reference in New Issue
Block a user