From b6d39a4257c46672e915098a156f63cd0a713a72 Mon Sep 17 00:00:00 2001 From: Sebb Date: Sat, 8 Oct 2022 15:23:43 +0100 Subject: [PATCH] Don't persist credentials unnecessarily --- .github/workflows/codeql-analysis.yml | 2 ++ .github/workflows/coverage.yml | 2 ++ .github/workflows/maven.yml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 605fe850c..eb5b69232 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -46,6 +46,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 + with: + persist-credentials: false - uses: actions/cache@v3.0.10 with: path: ~/.m2/repository diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 924ea5b75..afefe2a02 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -30,6 +30,8 @@ jobs: steps: - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 + with: + persist-credentials: false - uses: actions/cache@v3.0.10 with: path: ~/.m2/repository diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index d6a66c40b..58ea5f25d 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -34,6 +34,8 @@ jobs: # experimental: true steps: - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 + with: + persist-credentials: false - uses: actions/cache@v3.0.10 with: path: ~/.m2/repository