restrict workflow action permissions

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
Ramkumar Chinchani
2022-07-11 19:54:49 +00:00
committed by Ramkumar Chinchani
parent 8da34d5751
commit dc97096502
8 changed files with 26 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
+2
View File
@@ -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
+3
View File
@@ -9,6 +9,9 @@ on:
release:
types:
- published
permissions: read-all
jobs:
loc:
name: Lines of code
+2
View File
@@ -9,6 +9,8 @@ on:
types:
- published
permissions: read-all
jobs:
client-tools:
name: Stateless zot with shared reliable storage
+3
View File
@@ -5,6 +5,9 @@ on:
push:
branches:
- main
permissions: read-all
jobs:
check:
runs-on: ubuntu-latest
+2
View File
@@ -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
+2
View File
@@ -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