Skip to content

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

Pooja Killekar and others added 13 commits October 29, 2021 16:53
Update Readme.md & readme.txt with Tested upto 5.8.1 details
Sync Develop branch with master branch
* Fix: phpcs errors

1. Blank line after function.
2. Ignore WordPress.NamingConventions.ValidHookName.UseUnderscores because of backward compatibility

* Fix: phpcs error for equal sign alignment

* Fix: phpcs errors

1. Spacing and equal line alignement issue.
2. Ignore object param and return type because assuming php greater than 7.1 also requrires php 7.4 as plugin description.
3. Change CamelCase to snake_case variables.

* Fix: phpcs error for file /tests/bootstrap.php for spacing issue

* Fix: phpcs errors

1. Spacing and alignment issue.
2. Naming convention
3. Multiline array comma issue

* Fix issue added by bot for undefined variable

* Exclude hook name validation rule instead ignoring

* Update unit tests workflow

* Add slah before wp_json_encode function

* Revert json encode change
Feat: Add phpcs fixes and Update composer.json and vendor files
@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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add WP version checker.

6 participants