mirror of
https://github.com/distribution/distribution.git
synced 2026-01-25 06:34:24 +00:00
build: harden validate.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
This commit is contained in:
3
.github/workflows/validate.yml
vendored
3
.github/workflows/validate.yml
vendored
@@ -9,6 +9,9 @@ on:
|
||||
- 'v*'
|
||||
pull_request:
|
||||
|
||||
permissions:
|
||||
contents: read # to fetch code (actions/checkout)
|
||||
|
||||
jobs:
|
||||
validate:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user