Skip to content

Reuse existing WordPress upgrade pull request - #13

Merged
srtfisher merged 3 commits into
developfrom
feature/reuse-wordpress-upgrade-pr
Sep 11, 2026
Merged

srtfisher merged 3 commits into
developfrom
feature/reuse-wordpress-upgrade-pr

Conversation

@srtfisher

Copy link
Copy Markdown
Member

Summary

  • Reuse the newest open, same-repository pull request created by the github-actions app instead of opening duplicate upgrade PRs.
  • Update the reused PR title and checklist, and add one idempotent comment noting the previous and new WordPress versions.
  • Repair PR metadata on retries, abort safely when GitHub lookups fail, and preserve new-PR behavior when no reusable PR exists.
  • Add behavior tests and run them in the existing CI workflow.

Testing

  • ./tests/check-upgrade.sh
  • bash -n check-upgrade.sh tests/check-upgrade.sh tests/stubs/*
  • YAML parsing for action.yml and .github/workflows/test.yml
  • git diff --check 28257e0..HEAD

@mogmarsh mogmarsh left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

👍

@srtfisher
srtfisher merged commit 2a63b7d into develop Sep 11, 2026
1 check passed
@srtfisher
srtfisher deleted the feature/reuse-wordpress-upgrade-pr branch September 11, 2026 15:57
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.

2 participants