From befe7ab00032b9014d9ad9c11c0f624bd8a7f52d Mon Sep 17 00:00:00 2001 From: Timothy Johnson Date: Tue, 28 Nov 2023 13:41:32 -0500 Subject: [PATCH] Don't persist credentials from git checkout Signed-off-by: Timothy Johnson --- .github/workflows/sdk-release.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sdk-release.yaml b/.github/workflows/sdk-release.yaml index 5afbc0f5..ff5430f9 100644 --- a/.github/workflows/sdk-release.yaml +++ b/.github/workflows/sdk-release.yaml @@ -20,7 +20,8 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - fetch-depth: 0 + fetch-tags: true + persist-credentials: false ref: ${{ github.ref }} - name: Set up Python