chore: bump actions/checkout@v7

Do a sparse checkout on given patterns. Each pattern should be separated with new lines

Signed-off-by: nopeitsnothing <no@anonymousplanet.net>
This commit is contained in:
nopeitsnothing
2026-06-27 21:18:16 -04:00
parent f2dc66e22e
commit 35cc075adc
4 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ jobs:
steps:
- name: 🛠️ Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
- name: 🐍 Set up Python
uses: actions/setup-python@v5
+7 -4
View File
@@ -29,9 +29,10 @@ jobs:
steps:
- name: 🛠️ Checkout (for pgp/ key reference only)
uses: actions/checkout@v5
uses: actions/checkout@v7
with:
sparse-checkout: pgp
sparse-checkout-cone-mode: true
- name: 📥 Download PDF artifacts
uses: actions/download-artifact@v4
@@ -110,7 +111,7 @@ jobs:
# Commit export/ back to main
- name: 📦 Checkout full repo for commit
uses: actions/checkout@v5
uses: actions/checkout@v7
with:
ref: main
fetch-depth: 0
@@ -120,6 +121,8 @@ jobs:
run: cp -v export/* repo/export/
- name: 🔏 Configure GPG commit signing
env:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
run: |
mkdir -p ~/.gnupg
echo "$GPG_PRIVATE_KEY" | gpg --batch --quiet --import > /dev/null 2>&1 || true
@@ -182,10 +185,10 @@ jobs:
needs: sign
# Always run so the summary is visible even if sign partially failed
if: always()
# Do a sparse checkout on given patterns. Each pattern should be separated with new lines
steps:
- name: 🛠️ Checkout scripts and public key
uses: actions/checkout@v5
uses: actions/checkout@v7
with:
sparse-checkout: |
scripts/verify_pdf.py
+2 -1
View File
@@ -31,10 +31,11 @@ jobs:
steps:
- name: 🛠️ Checkout (for pgp/)
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
fetch-depth: 0
sparse-checkout: pgp
sparse-checkout-cone-mode: true
# Download artifacts from the specified sign run
- name: 📥 Download signatures artifact
+1 -1
View File
@@ -26,7 +26,7 @@ jobs:
steps:
- name: 🛠️ Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
# Use a PAT so the commit triggers downstream workflows (GITHUB_TOKEN won't)
token: ${{ secrets.CHANGELOG_PAT || secrets.GITHUB_TOKEN }}