diff --git a/.github/workflows/build-deploy.yml b/.github/workflows/build-deploy.yml index 263a1d81..da42551e 100644 --- a/.github/workflows/build-deploy.yml +++ b/.github/workflows/build-deploy.yml @@ -4,6 +4,10 @@ on: branches: - main +permissions: + contents: read + pages: write + jobs: build-and-deploy: runs-on: ubuntu-latest @@ -26,7 +30,7 @@ jobs: run: touch ./out/.nojekyll - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@v4.2.5 + uses: JamesIves/github-pages-deploy-action@62fec3add6773ec5dbbf18d2ee4260911aa35cf4 # v4.6.9 with: branch: gh-pages # The branch the action should deploy to. folder: out # The folder the action should deploy. diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 102b6b4f..ada03357 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,6 +4,9 @@ on: branches: - main +permissions: + contents: read + jobs: test: runs-on: ubuntu-latest