mirror of
https://github.com/distribution/distribution.git
synced 2025-08-07 09:53:41 +00:00
build: harden validate.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
This commit is contained in:
parent
1667a66856
commit
feaa75c529
3
.github/workflows/validate.yml
vendored
3
.github/workflows/validate.yml
vendored
@ -9,6 +9,9 @@ on:
|
|||||||
- 'v*'
|
- 'v*'
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read # to fetch code (actions/checkout)
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
validate:
|
validate:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
Reference in New Issue
Block a user