mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 12:28:01 +08:00
restrict workflow action permissions
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
committed by
Ramkumar Chinchani
parent
8da34d5751
commit
dc97096502
@@ -7,6 +7,8 @@ on:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [main]
|
||||
|
||||
permissions: read-all
|
||||
|
||||
jobs:
|
||||
benchmark:
|
||||
name: Performance regression check
|
||||
|
||||
@@ -9,6 +9,9 @@ on:
|
||||
release:
|
||||
types:
|
||||
- published
|
||||
|
||||
permissions: read-all
|
||||
|
||||
jobs:
|
||||
loc:
|
||||
name: Lines of code
|
||||
|
||||
@@ -9,6 +9,8 @@ on:
|
||||
types:
|
||||
- published
|
||||
|
||||
permissions: read-all
|
||||
|
||||
jobs:
|
||||
client-tools:
|
||||
name: Stateless zot with shared reliable storage
|
||||
|
||||
@@ -5,6 +5,9 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
permissions: read-all
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -11,6 +11,8 @@ on:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [main]
|
||||
|
||||
permissions: read-all
|
||||
|
||||
jobs:
|
||||
license-check:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -7,6 +7,8 @@ on:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [main]
|
||||
|
||||
permissions: read-all
|
||||
|
||||
jobs:
|
||||
tls-check:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user