mirror of
https://github.com/Anon-Planet/thgtoa.git
synced 2026-08-04 18:15:03 +02:00
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:
@@ -39,7 +39,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: 🛠️ Checkout
|
- name: 🛠️ Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v7
|
||||||
|
|
||||||
- name: 🐍 Set up Python
|
- name: 🐍 Set up Python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
|
|||||||
@@ -29,9 +29,10 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: 🛠️ Checkout (for pgp/ key reference only)
|
- name: 🛠️ Checkout (for pgp/ key reference only)
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v7
|
||||||
with:
|
with:
|
||||||
sparse-checkout: pgp
|
sparse-checkout: pgp
|
||||||
|
sparse-checkout-cone-mode: true
|
||||||
|
|
||||||
- name: 📥 Download PDF artifacts
|
- name: 📥 Download PDF artifacts
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
@@ -110,7 +111,7 @@ jobs:
|
|||||||
|
|
||||||
# Commit export/ back to main
|
# Commit export/ back to main
|
||||||
- name: 📦 Checkout full repo for commit
|
- name: 📦 Checkout full repo for commit
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v7
|
||||||
with:
|
with:
|
||||||
ref: main
|
ref: main
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@@ -120,6 +121,8 @@ jobs:
|
|||||||
run: cp -v export/* repo/export/
|
run: cp -v export/* repo/export/
|
||||||
|
|
||||||
- name: 🔏 Configure GPG commit signing
|
- name: 🔏 Configure GPG commit signing
|
||||||
|
env:
|
||||||
|
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.gnupg
|
mkdir -p ~/.gnupg
|
||||||
echo "$GPG_PRIVATE_KEY" | gpg --batch --quiet --import > /dev/null 2>&1 || true
|
echo "$GPG_PRIVATE_KEY" | gpg --batch --quiet --import > /dev/null 2>&1 || true
|
||||||
@@ -182,10 +185,10 @@ jobs:
|
|||||||
needs: sign
|
needs: sign
|
||||||
# Always run so the summary is visible even if sign partially failed
|
# Always run so the summary is visible even if sign partially failed
|
||||||
if: always()
|
if: always()
|
||||||
|
# Do a sparse checkout on given patterns. Each pattern should be separated with new lines
|
||||||
steps:
|
steps:
|
||||||
- name: 🛠️ Checkout scripts and public key
|
- name: 🛠️ Checkout scripts and public key
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v7
|
||||||
with:
|
with:
|
||||||
sparse-checkout: |
|
sparse-checkout: |
|
||||||
scripts/verify_pdf.py
|
scripts/verify_pdf.py
|
||||||
|
|||||||
@@ -31,10 +31,11 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: 🛠️ Checkout (for pgp/)
|
- name: 🛠️ Checkout (for pgp/)
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v7
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
sparse-checkout: pgp
|
sparse-checkout: pgp
|
||||||
|
sparse-checkout-cone-mode: true
|
||||||
|
|
||||||
# Download artifacts from the specified sign run
|
# Download artifacts from the specified sign run
|
||||||
- name: 📥 Download signatures artifact
|
- name: 📥 Download signatures artifact
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: 🛠️ Checkout
|
- name: 🛠️ Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v7
|
||||||
with:
|
with:
|
||||||
# Use a PAT so the commit triggers downstream workflows (GITHUB_TOKEN won't)
|
# Use a PAT so the commit triggers downstream workflows (GITHUB_TOKEN won't)
|
||||||
token: ${{ secrets.CHANGELOG_PAT || secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.CHANGELOG_PAT || secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user