Skip to content

Commit 2b22375

Browse files
match permissions across workflows
1 parent ff5109a commit 2b22375

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.github/workflows/publish.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@ on:
1111

1212
permissions:
1313
contents: read
14+
statuses: write
1415

1516
jobs:
1617
call-test-build:
17-
permissions:
18-
statuses: write
1918
uses: ./.github/workflows/testbuild.yml
2019

2120
publish-artifacts:

.github/workflows/testbuild.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77

88
permissions:
99
contents: read
10+
statuses: write
1011

1112
jobs:
1213

@@ -36,8 +37,6 @@ jobs:
3637

3738
style:
3839
runs-on: ubuntu-22.04
39-
permissions:
40-
statuses: write
4140
env:
4241
GH_TOKEN: ${{ github.token }}
4342
steps:
@@ -61,8 +60,6 @@ jobs:
6160

6261
typing:
6362
runs-on: ubuntu-22.04
64-
permissions:
65-
statuses: write
6663
env:
6764
GH_TOKEN: ${{ github.token }}
6865
steps:

0 commit comments

Comments
 (0)