Skip to content

Commit fea3cf3

Browse files
committed
try fix test/release permissions
1 parent b55699a commit fea3cf3

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Lint
22

3-
permissions: read-all
3+
permissions:
4+
contents: read
45

56
on:
67
push:

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,14 @@ jobs:
1212

1313
lint:
1414
permissions:
15+
contents: read
1516
actions: write
1617
uses: ./.github/workflows/lint.yml
1718
secrets: inherit
1819

1920
test:
2021
permissions:
22+
contents: read
2123
actions: write
2224
uses: ./.github/workflows/test.yml
2325
secrets: inherit
@@ -26,6 +28,7 @@ jobs:
2628
name: Build Package
2729
runs-on: ubuntu-latest
2830
permissions:
31+
contents: read
2932
actions: write
3033
outputs:
3134
PACKAGE_NAME: ${{ steps.set-package.outputs.package_name }}

.github/workflows/test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
postgres:
2323
runs-on: ubuntu-latest
2424
permissions:
25+
contents: read
2526
actions: write
2627
# Service containers to run with `container-job`
2728
strategy:
@@ -134,6 +135,7 @@ jobs:
134135
sqlite:
135136
runs-on: ubuntu-latest
136137
permissions:
138+
contents: read
137139
actions: write
138140
env:
139141
RDBMS: sqlite
@@ -195,6 +197,7 @@ jobs:
195197
mysql:
196198
runs-on: ubuntu-latest
197199
permissions:
200+
contents: read
198201
actions: write
199202
strategy:
200203
matrix:
@@ -293,6 +296,7 @@ jobs:
293296
mariadb:
294297
runs-on: ubuntu-latest
295298
permissions:
299+
contents: read
296300
actions: write
297301
env:
298302
RDBMS: mariadb
@@ -396,6 +400,7 @@ jobs:
396400
oracle:
397401
runs-on: ubuntu-latest
398402
permissions:
403+
contents: read
399404
actions: write
400405
env:
401406
RDBMS: oracle
@@ -502,6 +507,7 @@ jobs:
502507
windows:
503508
runs-on: windows-latest
504509
permissions:
510+
contents: read
505511
actions: write
506512
env:
507513
RDBMS: sqlite
@@ -561,6 +567,7 @@ jobs:
561567
macos:
562568
runs-on: macos-latest
563569
permissions:
570+
contents: read
564571
actions: write
565572
env:
566573
RDBMS: sqlite

0 commit comments

Comments
 (0)