From 77f1344cd78ea0c612e0c18fd3be1327267fe937 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Sat, 14 Dec 2024 15:45:29 +0100 Subject: [PATCH] Fix some issues pointed out by zizmor. (#1009) (#1010) (cherry picked from commit 80770ed97218989c52b673bf59d43e873ddf4278) Co-authored-by: Felix Fontein --- .github/workflows/docker-images.yml | 2 ++ .github/workflows/ee.yml | 3 ++- .github/workflows/reuse.yml | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-images.yml b/.github/workflows/docker-images.yml index da2ec6ee..28f506c8 100644 --- a/.github/workflows/docker-images.yml +++ b/.github/workflows/docker-images.yml @@ -46,6 +46,8 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + with: + persist-credentials: false - name: Install dependencies run: | diff --git a/.github/workflows/ee.yml b/.github/workflows/ee.yml index adc5f555..0a895baf 100644 --- a/.github/workflows/ee.yml +++ b/.github/workflows/ee.yml @@ -76,6 +76,7 @@ jobs: uses: actions/checkout@v4 with: path: ansible_collections/${{ env.NAMESPACE }}/${{ env.COLLECTION_NAME }} + persist-credentials: false - name: Set up Python uses: actions/setup-python@v5 @@ -109,7 +110,7 @@ jobs: - name: Create files for building execution environment run: | - COLLECTION_FILENAME="$(ls "${{ env.NAMESPACE }}-${{ env.COLLECTION_NAME }}"-*.tar.gz)" + COLLECTION_FILENAME="$(ls "${NAMESPACE}-${COLLECTION_NAME}"-*.tar.gz)" # EE config cat > execution-environment.yml <