diff --git a/.github/workflows/update-wp.yml b/.github/workflows/update-wp.yml new file mode 100644 index 000000000..487b07719 --- /dev/null +++ b/.github/workflows/update-wp.yml @@ -0,0 +1,21 @@ +name: Update WordPress +on: + schedule: + - cron: "0 0 * * *" +jobs: + update: + name: Update WordPress + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - run: ./util/upgrade-wp.sh + - name: Create Pull Request + uses: peter-evans/create-pull-request@v5 + with: + commit-message: Automated WordPress version update + title: WordPress version update + committer: "Mitch MacKenzie " + assignees: mitchmac + delete-branch: true + branch: 'wordpress-version-update' \ No newline at end of file