Skip to content

Commit 9ab9d87

Browse files
Update permissions
1 parent a6e9fc9 commit 9ab9d87

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/run-validation.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- williamhe/add-labels-support
78
paths-ignore:
89
- '**.md'
910
pull_request:
@@ -28,6 +29,10 @@ jobs:
2829
TEST_IMAGE_TAG: 'pd-${{ github.run_id }}'
2930
TEST_CONTAINER_APP_NAME: 'gh-ca-pd-${{ github.run_id }}'
3031

32+
permissions:
33+
id-token: write
34+
contents: read
35+
3136
steps:
3237
- name: Checkout action repository
3338
uses: actions/checkout@v3
@@ -257,6 +262,10 @@ jobs:
257262
TEST_CONTAINER_APP_NAME: 'gh-ca-is-ne-${{ github.run_id }}'
258263
TEST_NEW_CONTAINER_APP_ENV: 'gh-ca-is-ne-${{ github.run_id }}-env'
259264

265+
permissions:
266+
id-token: write
267+
contents: read
268+
260269
steps:
261270
- name: Checkout action repository
262271
uses: actions/checkout@v3

0 commit comments

Comments
 (0)