From c9522f299e6cf09d58ffbeabb5a24547b28d38cd Mon Sep 17 00:00:00 2001 From: Domenico Sibilio Date: Tue, 7 Feb 2023 16:20:18 +0100 Subject: [PATCH] ACS-3750 Use set Git token instead of cached one (#1736) --- .github/workflows/master_release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/master_release.yml b/.github/workflows/master_release.yml index 9a286a4c72..048fc98de3 100644 --- a/.github/workflows/master_release.yml +++ b/.github/workflows/master_release.yml @@ -32,6 +32,8 @@ jobs: github.event_name != 'pull_request' steps: - uses: actions/checkout@v3 + with: + persist-credentials: false - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0 - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.33.0 - name: "Init" @@ -58,6 +60,8 @@ jobs: github.event_name != 'pull_request' steps: - uses: actions/checkout@v3 + with: + persist-credentials: false - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0 - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.33.0 - name: "Init" @@ -72,4 +76,4 @@ jobs: env: COMMIT_MESSAGE: ${{ github.event.head_commit.message }} - name: "Clean Maven cache" - run: bash ./scripts/ci/cleanup_cache.sh \ No newline at end of file + run: bash ./scripts/ci/cleanup_cache.sh