From 857e0872a9bce890e2ca1fde577d802a11388ceb Mon Sep 17 00:00:00 2001 From: RaphiMC <50594595+RaphiMC@users.noreply.github.com> Date: Sun, 15 Dec 2024 17:05:14 +0100 Subject: [PATCH] Don't persist credentials in github actions --- .github/workflows/build-docker.yml | 2 ++ .github/workflows/build.yml | 2 ++ .github/workflows/update-gradle-wrapper.yml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index 663405d5..54f316f0 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -14,6 +14,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 21 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d3e5f470..ffaa1495 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,6 +8,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 21 diff --git a/.github/workflows/update-gradle-wrapper.yml b/.github/workflows/update-gradle-wrapper.yml index 1dd36f6b..690783d0 100644 --- a/.github/workflows/update-gradle-wrapper.yml +++ b/.github/workflows/update-gradle-wrapper.yml @@ -10,6 +10,8 @@ jobs: steps: - name: Checkout Repository uses: actions/checkout@v4 + with: + persist-credentials: false - name: Set up JDK 21 uses: actions/setup-java@v4 with: