From d0ca74add9ea45cdacc072d91124ded233066e6c Mon Sep 17 00:00:00 2001 From: Atour <28668597+amousavigourabi@users.noreply.github.com> Date: Wed, 14 Jan 2026 21:56:23 +0100 Subject: [PATCH] Avoid persisting credentials at checkout --- .github/workflows/java.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml index 271d465..b1ca9e1 100644 --- a/.github/workflows/java.yml +++ b/.github/workflows/java.yml @@ -14,6 +14,8 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 + with: + persist-credentials: false - name: Set up JDK ${{ matrix.java }} on ${{ matrix.os }} uses: actions/setup-java@v5 with: