Skip to content

Commit cd5da49

Browse files
committed
workflows/tests: set persist-credentials: false
Fixes https://github.com/Homebrew/homebrew-core/security/code-scanning/34
1 parent ea5bf0d commit cd5da49

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ jobs:
145145
test-bot-dependents-args: ${{ steps.check-labels.outputs.test-bot-dependents-args }}
146146
steps:
147147
- uses: actions/checkout@v4
148+
with:
149+
persist-credentials: false
148150

149151
- name: Check for CI labels
150152
id: check-labels
@@ -259,6 +261,8 @@ jobs:
259261
test-bot-dependents-args: ${{ steps.check-labels.outputs.test-bot-dependents-args }}
260262
steps:
261263
- uses: actions/checkout@v4
264+
with:
265+
persist-credentials: false
262266

263267
- name: Check for CI labels
264268
id: check-labels

0 commit comments

Comments
 (0)