From 65bf6ae2950f78f1c7c63cd74fa7c02b59963b6f Mon Sep 17 00:00:00 2001 From: Mitch MacKenzie Date: Fri, 29 Dec 2023 22:39:21 -0400 Subject: [PATCH] Fix the WordPress auto update action --- .github/workflows/update-wp.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-wp.yml b/.github/workflows/update-wp.yml index fdbc76a8c..07322ecba 100644 --- a/.github/workflows/update-wp.yml +++ b/.github/workflows/update-wp.yml @@ -7,16 +7,19 @@ jobs: update: name: Update WordPress runs-on: ubuntu-latest + if: github.repository_owner == 'mitchmac' steps: - name: Checkout uses: actions/checkout@v3 - run: ./util/upgrade-wp.sh + working-directory: ./util - name: Create Pull Request uses: peter-evans/create-pull-request@v5 with: commit-message: Automated WordPress version update title: WordPress version update + body: 'This is an automated update of the bundled WordPress files' committer: "Mitch MacKenzie " assignees: mitchmac delete-branch: true - branch: 'wordpress-version-update' \ No newline at end of file + branch: 'wordpress-version-update'