Skip to content

Commit 96e45c5

Browse files
committed
ci: set contents permissions to read
1 parent dbb4b13 commit 96e45c5

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
@@ -17,6 +17,9 @@ on:
1717
branches:
1818
- '*'
1919

20+
permissions:
21+
contents: read
22+
2023
env:
2124
BUNDLE_WITHOUT: "development"
2225

.github/workflows/downstream.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ on:
1717
branches:
1818
- '*'
1919

20+
permissions:
21+
contents: read
22+
2023
jobs:
2124
activerecord:
2225
runs-on: ubuntu-latest

.github/workflows/upstream.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ on:
1313
paths:
1414
- .github/workflows/upstream.yml # this file
1515

16+
permissions:
17+
contents: read
18+
1619
jobs:
1720
sqlite-head:
1821
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)