Skip to content

Commit a955ca0

Browse files
committed
Set permissions for each job
1 parent 88f3d04 commit a955ca0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/validate-pr_job.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ jobs:
4949
REVIEWDOG_GITHUB_API_TOKEN: ${{ github.token }}
5050

5151
remark-test:
52+
permissions:
53+
contents: read
54+
statuses: write
5255
runs-on: ubuntu-latest
5356
needs: lint-test
5457
steps:
@@ -63,6 +66,9 @@ jobs:
6366
run: yarn test
6467

6568
build-test:
69+
permissions:
70+
contents: read
71+
statuses: write
6672
runs-on: ubuntu-latest
6773
needs: remark-test
6874
steps:

0 commit comments

Comments
 (0)