Skip to content

Commit aeccc75

Browse files
authored
Merge pull request #287 from YutaGoto/add-actions-permissions
👷 add github actions permissions
2 parents f03f9a0 + 0792f16 commit aeccc75

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

.github/workflows/rspec.yml

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

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
rspec:
1316
runs-on: ubuntu-latest

.github/workflows/rubocop.yml

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

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
rubocop:
1316
runs-on: ubuntu-latest

.github/workflows/spell-check.yml

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

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
spell-check:
1316
runs-on: ubuntu-latest

.github/workflows/yaml-lint.yml

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

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
yaml-lint:
1316
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)