Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
jdk: [8, 9, 11, 15]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0

Check warning on line 19 in .github/workflows/ci.yml

View check run for this annotation

zizmor PR Scanner / zizmor 🌈

artipacked

credential persistence through GitHub Actions artifacts: does not set persist-credentials: false By default, `actions/checkout` persists credentials on disk. Subsequent steps may accidentally expose them, e.g. via a publicly accessible artifact. How to fix: Use `actions/checkout` with `persist-credentials: false` unless your workflow explicitly needs git credentials. If the persisted credential is needed, it should be made explicit with `persist-credentials: true`. See https://docs.zizmor.sh/audits/#artipacked for more information.
- name: Set up JDK
uses: actions/setup-java@v2
uses: actions/setup-java@91d3aa4956ec4a53e477c4907347b5e3481be8c9 # v2.5.1
with:
java-version: ${{ matrix.jdk }}
distribution: zulu
- name: Cache Maven packages
uses: actions/cache@v2
uses: actions/cache@2b250bc32ad02700b996b496c14ac8c2840a2991 # v2.1.8
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand Down
Loading