Fix some issues pointed out by zizmor. (#333)

This commit is contained in:
Felix Fontein 2024-12-14 14:56:14 +01:00 committed by GitHub
parent a7340eae1a
commit 995ab18e7b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 1 deletions

View file

@ -63,6 +63,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
@ -96,7 +97,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 <<EOF

View file

@ -29,6 +29,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

View file

@ -26,6 +26,8 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v5