Skip to content

Latest WP Support

Latest WP Support #2

Workflow file for this run

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