diff --git a/.github/workflows/generate-pdf.yml b/.github/workflows/generate-pdf.yml index e8f06c7..329bffc 100644 --- a/.github/workflows/generate-pdf.yml +++ b/.github/workflows/generate-pdf.yml @@ -175,7 +175,6 @@ jobs: if [ -f "textbook_full.pdf" ]; then echo "textbook_full.pdf here"; else echo "textbook_full.pdf gone"; fi - name: Commit changes to a new branch - if: github.event_name == 'push' && !contains(github.event.head_commit.message, 'Update PDF of textbook') run: | git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.name "GitHub Actions" @@ -187,7 +186,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Create a Pull Request - if: github.event_name == 'push' && !contains(github.event.head_commit.message, 'Update PDF of textbook') uses: peter-evans/create-pull-request@v5 with: token: ${{ secrets.GITHUB_TOKEN }}