From ba60ee78f54fbfaabf9123b84f07c47ab32f97e9 Mon Sep 17 00:00:00 2001 From: Ashley Chiu Date: Sat, 7 Sep 2024 14:20:05 -0700 Subject: [PATCH] [fix] remove dynamic branch naming --- .github/workflows/generate-pdf.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate-pdf.yml b/.github/workflows/generate-pdf.yml index c73cba5..be8308c 100644 --- a/.github/workflows/generate-pdf.yml +++ b/.github/workflows/generate-pdf.yml @@ -145,7 +145,7 @@ jobs: run: | git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.name "GitHub Actions" - git checkout -b update-textbook-full-pdf-$(date +%s) + git checkout -b update-textbook-full-pdf git add textbook_full.pdf git commit -m "Update PDF of textbook on site after a merge to main" git push origin HEAD @@ -158,7 +158,7 @@ jobs: with: token: ${{ secrets.GITHUB_TOKEN }} commit-message: "Update PDF of textbook on site" - branch: update-textbook-full-pdf-$(date +%s) + branch: update-textbook-full-pdf title: "Update full PDF of textbook" body: "This PR updates the full PDF of the textbook." base: main