Skip to content

Commit e1ddb23

Browse files
authored
Update test.yml to with job permissions
1 parent 3210248 commit e1ddb23

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ jobs:
1111
test-autogenerated:
1212
runs-on: ubuntu-24.04
1313
continue-on-error: true
14+
permissions:
15+
contents: read
16+
pull-requests: write
1417
strategy:
1518
matrix:
1619
features:
@@ -41,6 +44,9 @@ jobs:
4144
test-scenarios:
4245
runs-on: ubuntu-24.04
4346
continue-on-error: true
47+
permissions:
48+
contents: read
49+
pull-requests: write
4450
strategy:
4551
matrix:
4652
features:
@@ -66,6 +72,9 @@ jobs:
6672
test-global:
6773
runs-on: ubuntu-24.04
6874
continue-on-error: true
75+
permissions:
76+
contents: read
77+
pull-requests: write
6978
steps:
7079
- name: Checkout Code
7180
uses: actions/checkout@v4

0 commit comments

Comments
 (0)