Skip to content

Commit db0af65

Browse files
authored
Merge pull request #174 from arpitjain099/chore/declare-workflow-perms
ci: declare workflow-level contents: read on check-index and test
2 parents 6fbe3db + 48f53f5 commit db0af65

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/check-index.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
branches:
99
- check-index-test
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
build:
1316

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
env:
99
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
build:
1316
name: ${{ matrix.ruby_version }}-${{ matrix.ubuntu_version }} ${{ matrix.arch }}

0 commit comments

Comments
 (0)