[PR #9250/f6dae1fc backport][stable-10] CI: Fix some issues pointed out by zizmor (#9253)

CI: Fix some issues pointed out by zizmor (#9250)

Fix some issues pointed out by zizmor.

(cherry picked from commit f6dae1fc4d)

Co-authored-by: Felix Fontein <felix@fontein.de>
pull/9266/head
patchback[bot] 2024-12-14 15:17:05 +01:00 committed by GitHub
parent 3f29683191
commit 8f76c847fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View File

@ -25,6 +25,8 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
with:
persist-credentials: false
# Initializes the CodeQL tools for scanning. # Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL - name: Initialize CodeQL

View File

@ -28,6 +28,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
persist-credentials: false
ref: ${{ github.event.pull_request.head.sha || '' }} ref: ${{ github.event.pull_request.head.sha || '' }}
- name: REUSE Compliance Check - name: REUSE Compliance Check