From f5f97609b8ba22bc12795f09b2c7104b8b318aba Mon Sep 17 00:00:00 2001 From: Federico Stagni Date: Sun, 15 Nov 2026 13:28:31 +0100 Subject: [PATCH 1/2] chore: add zizmor (pre-commit) and fix its auditor findings --- .github/workflows/gh-pages.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 6395d2c..5b9ec83 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -21,6 +21,7 @@ concurrency: jobs: # Build job build: + name: build runs-on: ubuntu-latest permissions: contents: read @@ -43,6 +44,7 @@ jobs: # Deployment job deploy: + name: deploy if: github.event_name != 'pull_request' environment: name: github-pages From 10a807d234202aabdb38f9ff299ffb1967ad5a26 Mon Sep 17 00:00:00 2001 From: Federico Stagni Date: Mon, 16 Nov 2026 12:15:43 +0100 Subject: [PATCH 2/2] chore: document the deploy job permissions --- .github/workflows/gh-pages.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 5b9ec83..7117def 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -53,8 +53,8 @@ jobs: needs: build # Allow the GITHUB_TOKEN to deploy to GitHub Pages permissions: - pages: write - id-token: write + pages: write # deploy the built site to GitHub Pages + id-token: write # OIDC authentication for the Pages deployment steps: - name: Deploy to GitHub Pages id: deployment