mirror of
https://github.com/actions/setup-java.git
synced 2026-07-16 13:52:59 +00:00
Harden set-default Checkout in e2e-versions.yml (persist-credentials: false)
The Checkout step in the set-default option job was the only one of 17 checkout steps in the workflow missing persist-credentials: false, flagged by zizmor's artipacked audit. Align it with the rest of the file. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -704,6 +704,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v7
|
uses: actions/checkout@v7
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
- name: Setup Java 17 as default
|
- name: Setup Java 17 as default
|
||||||
uses: ./
|
uses: ./
|
||||||
id: setup-java-17
|
id: setup-java-17
|
||||||
|
|||||||
Reference in New Issue
Block a user