From a848783eb391a7463c4857231c71baee00ededaa Mon Sep 17 00:00:00 2001 From: Kichura <68134602+Kichura@users.noreply.github.com> Date: Sun, 15 Dec 2024 18:15:37 +0100 Subject: [PATCH] Do not persist credentials. --- .github/workflows/build.yml | 2 ++ .github/workflows/publish.yml | 2 ++ .github/workflows/update-gradle-wrapper.yml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3179bbd8..4e859b92 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,6 +11,8 @@ jobs: steps: - name: Checkout Repository uses: actions/checkout@v4 + with: + persist-credentials: false - name: Validate Gradle Wrapper uses: gradle/actions/wrapper-validation@v4 - name: Set up JDK 17 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7130cbb2..33a8b3d7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,6 +12,8 @@ jobs: steps: - name: Checkout Repository uses: actions/checkout@v4 + with: + persist-credentials: false - name: Validate Gradle Wrapper uses: gradle/actions/wrapper-validation@v4 - name: Set up JDK 17 diff --git a/.github/workflows/update-gradle-wrapper.yml b/.github/workflows/update-gradle-wrapper.yml index a6ed992b..2e3cc00e 100644 --- a/.github/workflows/update-gradle-wrapper.yml +++ b/.github/workflows/update-gradle-wrapper.yml @@ -10,5 +10,7 @@ jobs: steps: - name: Checkout Repository uses: actions/checkout@v4 + with: + persist-credentials: false - name: Update Gradle Wrapper uses: gradle-update/update-gradle-wrapper-action@v2