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'