Skip to content

Add workflow to update WordPress Tested up to version on .org #1969

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

Merged

Conversation

ShyamGadde
Copy link
Contributor

Summary

Fixes #1960

This PR introduces a new GitHub workflow to update the "Tested up to" WordPress version on WordPress.org without requiring a full plugin release. The workflow can be triggered manually for either a single plugin or all plugins.

Relevant technical choices

  • Updates the "Tested up to" version only if the repo version is higher than the WordPress.org version.
  • Downloads the latest readme.txt from WordPress.org and updates only the Tested up to: line, ensuring no other content is modified.
  • Uses the action-wordpress-plugin-asset-update GitHub action to handle the deployment process.

Signed-off-by: Shyamsundar Gadde <shyamsundar.gadde@rtcamp.com>
@ShyamGadde ShyamGadde added [Type] Enhancement A suggestion for improvement of an existing feature Infrastructure Issues for the overall performance plugin infrastructure no milestone PRs that do not have a defined milestone for release skip changelog PRs that should not be mentioned in changelogs labels Apr 3, 2025
ShyamGadde and others added 4 commits April 4, 2025 16:17
Co-authored-by: Weston Ruter <westonruter@google.com>
Co-authored-by: Weston Ruter <westonruter@google.com>
Signed-off-by: Shyamsundar Gadde <shyamsundar.gadde@rtcamp.com>
Copy link
Member

@felixarntz felixarntz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ShyamGadde This looks excellent so far!

Signed-off-by: Shyamsundar Gadde <shyamsundar.gadde@rtcamp.com>
@ShyamGadde ShyamGadde changed the title Add workflow to update WordPress compatibility versions on .org Add workflow to update WordPress Tested up to version on .org Apr 7, 2025
Copy link
Member

@felixarntz felixarntz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ShyamGadde This looks good to me. Is it good to become a regular pull request, or is there a particular reason you still have it as a draft?

Would be great to get @swissspidy's review on this one too :)

@ShyamGadde ShyamGadde marked this pull request as ready for review April 7, 2025 16:43
Copy link

github-actions bot commented Apr 7, 2025

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: ShyamGadde <shyamgadde@git.wordpress.org>
Co-authored-by: westonruter <westonruter@git.wordpress.org>
Co-authored-by: felixarntz <flixos90@git.wordpress.org>
Co-authored-by: swissspidy <swissspidy@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@ShyamGadde ShyamGadde requested a review from swissspidy April 7, 2025 16:44
ShyamGadde and others added 5 commits April 8, 2025 18:27
Co-authored-by: Pascal Birchler <pascal.birchler@gmail.com>
Co-authored-by: Pascal Birchler <pascal.birchler@gmail.com>
Signed-off-by: Shyamsundar Gadde <shyamsundar.gadde@rtcamp.com>
Co-authored-by: Pascal Birchler <pascal.birchler@gmail.com>
Signed-off-by: Shyamsundar Gadde <shyamsundar.gadde@rtcamp.com>
Signed-off-by: Shyamsundar Gadde <shyamsundar.gadde@rtcamp.com>
Signed-off-by: Shyamsundar Gadde <shyamsundar.gadde@rtcamp.com>
@ShyamGadde ShyamGadde requested a review from swissspidy April 8, 2025 14:35
@swissspidy swissspidy merged commit b2d0435 into WordPress:trunk Apr 8, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Infrastructure Issues for the overall performance plugin infrastructure no milestone PRs that do not have a defined milestone for release skip changelog PRs that should not be mentioned in changelogs [Type] Enhancement A suggestion for improvement of an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bump tested up to WordPress version to 6.8
4 participants