From 0a0a8a3b5b7e13acfaf878f1beec9ffd9b1d386d Mon Sep 17 00:00:00 2001 From: "Daniel W. Steinbrook" Date: Sun, 30 Jun 2024 09:51:54 -0400 Subject: [PATCH] Fix GitHub Actions permissions --- .github/workflows/node.js.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 33da82c..dd07f9e 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -35,6 +35,11 @@ jobs: if: github.ref == 'refs/heads/main' needs: build-and-test + # Grant GITHUB_TOKEN the permissions required to make a Pages deployment + permissions: + pages: write # to deploy to Pages + id-token: write # to verify the deployment originates from an appropriate source + # Deploy to the github-pages environment environment: name: github-pages