Skip to content

Commit db39994

Browse files
committed
fix: adjust permissions configuration in workflow files
1 parent 8ca9818 commit db39994

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/workflows/reusable-unity-cs-linter-dispatch.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ on:
3939
type: string
4040
default: '50'
4141

42+
43+
permissions:
44+
checks: write
45+
4246
jobs:
4347
branch-conf:
4448
runs-on: ubuntu-22.04

.github/workflows/test-unity-cs-linter-dispatch.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,6 @@ on:
2222
type: string
2323
default: ''
2424

25-
permissions:
26-
contents: write
27-
actions: read
28-
checks: write
29-
statuses: write
30-
pull-requests: write
31-
3225
jobs:
3326
unity-cs-linter:
3427
uses: ./.github/workflows/reusable-unity-cs-linter-dispatch.yaml

0 commit comments

Comments
 (0)