Constrain GH Actions workflows permissions (#1567)

This commit is contained in:
Otto Winter 2021-10-23 21:57:26 +02:00 committed by GitHub
parent f0320a6c12
commit b7e3413a33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -10,6 +10,10 @@ on:
- Dockerfile
- .github/workflows/docker.yml
permissions:
contents: read
packages: write
jobs:
build:
runs-on: ubuntu-latest

View File

@ -7,6 +7,9 @@ on:
pull_request:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest