Skip to content

Commit 51f42ee

Browse files
committed
set workflow permissions
1 parent 33c362e commit 51f42ee

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ jobs:
88
RUBOCOP_TEST: false
99
RSPEC_TEST: true
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
1113
strategy:
1214
fail-fast: false
1315
matrix:
@@ -27,6 +29,8 @@ jobs:
2729
RUBOCOP_TEST: false
2830
RSPEC_TEST: true
2931
runs-on: ubuntu-latest
32+
permissions:
33+
contents: read
3034
strategy:
3135
fail-fast: false
3236
matrix:
@@ -46,6 +50,8 @@ jobs:
4650
RUBOCOP_TEST: false
4751
RSPEC_TEST: true
4852
runs-on: ubuntu-latest
53+
permissions:
54+
contents: read
4955
strategy:
5056
fail-fast: false
5157
matrix:
@@ -65,6 +71,8 @@ jobs:
6571
RUBOCOP_TEST: false
6672
RSPEC_TEST: true
6773
runs-on: ubuntu-latest
74+
permissions:
75+
contents: read
6876
strategy:
6977
fail-fast: false
7078
matrix:

0 commit comments

Comments
 (0)