Skip to content

Commit 8f2f80a

Browse files
committed
ci: set read-only workflow token permissions
1 parent d07a8df commit 8f2f80a

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
push:
77
branches: ["master", "main", "v3"]
88

9+
10+
permissions:
11+
contents: read
912
jobs:
1013
gradle:
1114
runs-on: ubuntu-latest

.github/workflows/sca_scan.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
pull_request:
77
branches: ["master"]
88

9+
10+
permissions:
11+
contents: read
912
jobs:
1013
snyk-cli:
1114
uses: auth0/devsecops-tooling/.github/workflows/sca-scan.yml@main

0 commit comments

Comments
 (0)