forked from mitchmac/ServerlessWP
-
Notifications
You must be signed in to change notification settings - Fork 0
25 lines (25 loc) · 771 Bytes
/
update-wp.yml
File metadata and controls
25 lines (25 loc) · 771 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Update WordPress
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
update:
name: Update WordPress
runs-on: ubuntu-latest
if: github.repository_owner == 'mitchmac'
steps:
- name: Checkout
uses: actions/checkout@v3
- run: ./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 <mitchmac@gmail.com>"
assignees: mitchmac
delete-branch: true
branch: 'wordpress-version-update'