Skip to content

Use latest stable WP version for wp-since generation#1281

Merged
davidperezgar merged 2 commits intotrunkfrom
use-latest-stable-for-since-generation
Apr 27, 2026
Merged

Use latest stable WP version for wp-since generation#1281
davidperezgar merged 2 commits intotrunkfrom
use-latest-stable-for-since-generation

Conversation

@ernilambar
Copy link
Copy Markdown
Member

What

The "Generate WP Functions Since Data" workflow was checking out WordPress/WordPress with no ref, so it used the default branch instead of a stable release.

Change

  • Resolve the current stable version from the WordPress.org version-check API: https://api.wordpress.org/core/version-check/1.7/
  • Check out the matching release tag for that version so the generated @since dataset reflects latest stable core.

@ernilambar ernilambar marked this pull request as ready for review April 27, 2026 06:57
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 27, 2026

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: ernilambar <nilambar@git.wordpress.org>
Co-authored-by: mukeshpanchal27 <mukesh27@git.wordpress.org>
Co-authored-by: davidperezgar <davidperez@git.wordpress.org>

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

Comment thread .github/workflows/generate-wp-functions-since-data.yml
@davidperezgar davidperezgar merged commit 1acd232 into trunk Apr 27, 2026
4 checks passed
@davidperezgar davidperezgar deleted the use-latest-stable-for-since-generation branch April 27, 2026 15:19
@davidperezgar davidperezgar added this to the 2.0.0 milestone May 2, 2026
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.

3 participants