Latest WP Support #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Latest WP Support | |
on: | |
schedule: | |
- cron: "0 2 5 * *" # Every month on the 5th at 2am UTC | |
jobs: | |
is-outdated: | |
name: Check if WP version is outdated | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@main | |
- name: Install Node | |
uses: actions/setup-node@master | |
with: | |
node-version: '18' | |
- name: Check wp version | |
uses: tarosky/farmhand-wp-aciton@v1 | |
id: wp_version | |
- name: Update Issue if needed | |
if: steps.wp_version.outputs.should_update | |
uses: actions-ecosystem/action-create-issue@v1 | |
with: | |
github_token: ${{ secrets.github_token }} | |
title: ${{ steps.wp_version.outputs.version }} | |
body: | | |
## TODO | |
- [ ] Check if plugin works with the latest WP version | |
- [ ] Bump "Tested up to" version in README.md | |
labels: | | |
update | |
assignees: | | |
user1 |