Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add WP version check workflow #170

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

mi5t4n
Copy link
Member

@mi5t4n mi5t4n commented Dec 14, 2023

Description

Whenever a new version of WP is released, we are required to update the Tested up to information in the readme.txt file. This PR adds a workflow which is scheduled to run at midnight on every Monday.

Technical Details

  1. Uses skaut/wordpress-version-checker GitHub action to check for the discrepancy between the latest WP version and the WP version in the readme.txt
  2. The workflow is scheduled to run at midnight on every Monday.
  3. Raises an GitHub issue suggesting we need to update the Tested up to in the readme.txt on the repository.

Improvement

We can add automatically assign the issues raised by the workflow to a developer, by adding the following code in the .wordpress-version-checker.json.

{
    "assignees": ["alice", "bob"]
}

Reference:

https://github.com/10up/simple-local-avatars/blob/develop/.github/workflows/wordpress-version-checker.yml

Fixes/Covers issue

Fixes #172

@mi5t4n mi5t4n self-assigned this Dec 14, 2023
@mi5t4n mi5t4n linked an issue Dec 14, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add WP version checker.
1 participant