Skip to content

ci: restore WordPress.org deploy workflow for faustwp#2384

Merged
josephfusco merged 3 commits into
canaryfrom
ci/restore-wordpress-org-deploy
Jun 3, 2026
Merged

ci: restore WordPress.org deploy workflow for faustwp#2384
josephfusco merged 3 commits into
canaryfrom
ci/restore-wordpress-org-deploy

Conversation

@josephfusco
Copy link
Copy Markdown
Member

Summary

Restores the Deploy to WordPress.org workflow for the faustwp plugin, removed in late 2024. Triggers on @faustwp/wordpress-plugin@* tag pushes and calls 10up/action-wordpress-plugin-deploy directly.

Changes from the prior version

  • Upstream 10up/action-wordpress-plugin-deploy@v2.3.0 (SHA-pinned) replaces the vendored composite action previously at .github/actions/release-plugin/. Upstream now supports the monorepo path via BUILD_DIR.
  • Adds a Compute SVN version from tag step to strip the @faustwp/wordpress-plugin@ prefix; upstream's deploy script only strips refs/tags/ and a leading v.
  • Adds workflow_dispatch with tag, dry_run (default true), and redeploy inputs. Dry run exercises credentials end-to-end without committing; redeploy deletes the SVN tag before publishing.
  • Attaches the generated plugin zip to the matching GitHub Release via softprops/action-gh-release@v2.4.0 (SHA-pinned).
  • actions/checkout@v5, runs-on: ubuntu-22.04, explicit ref on checkout for the dispatch path.

Test plan

  • Dispatch from the Actions tab with dry_run: true and tag: @faustwp/wordpress-plugin@1.8.0. Confirm the deploy step authenticates against plugins.svn.wordpress.org/faustwp/ and exits without committing.
  • If auth fails, rotate SVN_PASSWORD and rerun.
  • On the next Changesets release tag, verify SVN trunk and the new tag are updated, and the plugin zip is attached to the GitHub Release.

@josephfusco josephfusco requested a review from a team as a code owner June 3, 2026 15:24
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jun 3, 2026

⚠️ No Changeset found

Latest commit: 89a7b51

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 3, 2026

📦 Next.js Bundle Analysis for @faustwp/getting-started-example

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Restores and modernizes the WordPress.org deployment workflow for the faustwp plugin by reintroducing a dedicated GitHub Actions workflow that deploys on Changesets-style tag pushes and supports manual dispatch (including dry-run and redeploy options).

Changes:

  • Adds a Deploy to WordPress.org workflow triggered by @faustwp/wordpress-plugin@* tag pushes and workflow_dispatch.
  • Computes an SVN version from the Changesets tag format and optionally deletes an existing SVN tag for redeploys.
  • Deploys via 10up/action-wordpress-plugin-deploy and uploads the generated ZIP to the corresponding GitHub Release.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/release-plugin.yml Outdated
Comment thread .github/workflows/release-plugin.yml Outdated
josephfusco and others added 2 commits June 3, 2026 11:41
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@josephfusco josephfusco merged commit 89a35d7 into canary Jun 3, 2026
16 checks passed
@josephfusco josephfusco deleted the ci/restore-wordpress-org-deploy branch June 3, 2026 15:46
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