Skip to content

Commit 98fcff6

Browse files
committed
Fix zizmor issues
1 parent f56d066 commit 98fcff6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/validate-pr.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
- main
1111
- '[0-9]+.[0-9]+'
1212

13+
permissions:
14+
contents: read # To checkout repositories
15+
pull-requests: write # To create/update PR comments
16+
1317
jobs:
1418
validate-apis:
1519
name: build
@@ -23,13 +27,15 @@ jobs:
2327
- uses: actions/checkout@v4
2428
with:
2529
path: ./elasticsearch-specification
30+
persist-credentials: false
2631

2732
- uses: actions/checkout@v4
2833
with:
2934
repository: elastic/clients-flight-recorder
3035
path: ./clients-flight-recorder
3136
token: ${{ secrets.PAT }}
3237
ref: ${{ github.base_ref }}
38+
persist-credentials: false
3339

3440
- name: Use Node.js 22
3541
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)