Skip to content

Commit fa2dba2

Browse files
committed
refactor: update permissions config in GitHub workflows
1 parent 09dd9bd commit fa2dba2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/reusable-lint-cs-files.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ on:
3737
type: string
3838
default: 'error'
3939

40+
permissions:
41+
actions: read
42+
contents: read
43+
checks: write
44+
4045
env:
4146
CONVERT_TO_SARIF_URI: 'https://raw.githubusercontent.com/IShix-g/Unity-GitHubActions/HEAD/.github/scripts/convert_to_sarif.py'
4247

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

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

25-
permissions:
26-
actions: read
27-
contents: read
28-
checks: write
29-
3025
jobs:
3126
unity-cs-linter:
3227
uses: ./.github/workflows/reusable-unity-cs-linter-dispatch.yaml

0 commit comments

Comments
 (0)