Skip to content

Commit 48c4d03

Browse files
authored
ci: declare contents: read on ci/e2e-test/integration-test workflows (#914)
All three workflows do pure CI runs (checkout + Go build/test, or e2e/ integration test execution). cli-validate.yml in this repo already declares workflow-level contents: read; this brings the remaining three in line. Signed-off-by: Arpit Jain <arpitjain099@gmail.com>
1 parent f12ddd0 commit 48c4d03

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/ci.yml

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

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

.github/workflows/e2e-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
push:
1111
branches: [ main ]
1212

13+
permissions:
14+
contents: read
15+
1316
jobs:
1417
e2e-test:
1518
strategy:

.github/workflows/integration-test.yml

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

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

0 commit comments

Comments
 (0)