From 64da978147b83657512819561c0189d38dae5a5f Mon Sep 17 00:00:00 2001 From: Jan Calanog Date: Tue, 8 Apr 2025 12:26:57 +0200 Subject: [PATCH] Set `persist-credentials` to false in `actions/checkout` --- .github/workflows/preview-build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/preview-build.yml b/.github/workflows/preview-build.yml index 6bca08845..a7c9ad8c1 100644 --- a/.github/workflows/preview-build.yml +++ b/.github/workflows/preview-build.yml @@ -72,6 +72,7 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha || github.ref }} + persist-credentials: false - name: Free Disk Space if: contains(fromJSON('["elastic/security-docs"]'), github.repository)