From 65e9413e5bc24518d64f2c03df3ca0b3a7639e4c Mon Sep 17 00:00:00 2001 From: Murray Stevenson <50844517+murraystevenson@users.noreply.github.com> Date: Tue, 16 Apr 2024 10:13:37 -0700 Subject: [PATCH 1/2] CI : Limit push runs to the gh-pages branch --- .github/workflows/update.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index c88eb9971..82866856f 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -2,6 +2,8 @@ name: Update from Releases on: push: + branches: + - gh-pages schedule: # At the end of every day - cron: 0 0 * * * From 12ea5a61418f2de3e4a5e75ffa02e69357c57455 Mon Sep 17 00:00:00 2001 From: Murray Stevenson <50844517+murraystevenson@users.noreply.github.com> Date: Tue, 16 Apr 2024 10:16:18 -0700 Subject: [PATCH 2/2] CI : Ensure update pull requests target the gh-pages branch --- .github/workflows/update.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 82866856f..a9678e284 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -36,6 +36,7 @@ jobs: - name: Create Pull Request uses: peter-evans/create-pull-request@v3 with: + base: gh-pages commit-message: "${{steps.update.outputs.title}}\n\n${{steps.update.outputs.body}}" title: ${{steps.update.outputs.title}} body: ${{steps.update.outputs.body}}