diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fa6079c..9e6b688 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,6 +19,8 @@ jobs: build: # The type of runner that the job will run on runs-on: ubuntu-latest + permissions: + contents: write # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -32,7 +34,7 @@ jobs: - run: mkdir pdf - run: mv *{.svg,.pdf} pdf/. - uses: peaceiris/actions-gh-pages@v4 - if: github.event_name == 'push' && github.ref == 'refs/heads/master' + if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.actor != 'dependabot[bot]' with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./pdf