Skip to content

Commit

Permalink
Merge pull request #43 from mitchmac/wp-auto-update-action
Browse files Browse the repository at this point in the history
Try updating WordPress in the repository automatically
  • Loading branch information
mitchmac authored Dec 29, 2023
2 parents dc7d1de + 7dbeca2 commit 83fc131
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/update-wp.yml
Original file line number Diff line number Diff line change
@@ -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 <mitchmac@gmail.com>"
assignees: mitchmac
delete-branch: true
branch: 'wordpress-version-update'

0 comments on commit 83fc131

Please sign in to comment.