From 40f564e41e47fff3d413bf27584e9928ab90c671 Mon Sep 17 00:00:00 2001 From: Rudransh Shrivastava Date: Tue, 16 Jun 2026 12:42:03 +0530 Subject: [PATCH] .github: add explicit persist-credentials for checkout action Signed-off-by: Rudransh Shrivastava --- .github/workflows/lint.yaml | 1 + .github/workflows/release.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index aae7f0c..66bac93 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -12,6 +12,7 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: fetch-depth: 0 + persist-credentials: false - name: Set up Go uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d1c3ffc..24f9a72 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,6 +20,7 @@ jobs: with: fetch-depth: '0' fetch-tags: 'true' + persist-credentials: false - name: Setup Go uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 @@ -100,6 +101,7 @@ jobs: with: fetch-depth: '0' fetch-tags: 'true' + persist-credentials: false - name: Install JDK and Maven uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0