Constrain GH Actions workflows permissions (#1567)
This commit is contained in:
parent
f0320a6c12
commit
b7e3413a33
|
@ -10,6 +10,10 @@ on:
|
|||
- Dockerfile
|
||||
- .github/workflows/docker.yml
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
@ -7,6 +7,9 @@ on:
|
|||
|
||||
pull_request:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Reference in New Issue