Add a workflow to update WordPress.org assets without a release - #133
Closed
mayukojpn wants to merge 1 commit into
Closed
Add a workflow to update WordPress.org assets without a release#133mayukojpn wants to merge 1 commit into
mayukojpn wants to merge 1 commit into
Conversation
Assets currently only reach WordPress.org when a release is published, so artwork committed to .wordpress-org/ stays invisible until the next version ships.
AI トリアージ: PR #133リスク: 🟢 低(CIワークフロー追加のみ) サマリー
詳細レビューテスト要否
レビュワーが確認すべき箇所
設計上の懸念
🤖 AI triage by Claude — レビュー日: 2026-08-03 |
fumikito
added a commit
that referenced
this pull request
Aug 4, 2026
Member
|
方針転換のためクローズします。 各リポジトリに個別の また調査の結果、 置き換え先: #134 |
fumikito
added a commit
that referenced
this pull request
Aug 4, 2026
アセット更新ラッパーを追加(共有ワークフロー方式・#133 を置き換え)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Background
Assets reach WordPress.org only through
deploy.yml, which runs onrelease: published. Anything committed to.wordpress-org/therefore stays invisible until the next version ships.This plugin is currently in sync, so the workflow is preventative here.
Across the org this affects 12 of 15 plugins: 21 files never published, 12 live under the same name with different content. Most of it dates from a coordinated asset refresh on 2026-07-09/10 that no release has carried out yet.
What this adds
A workflow that syncs
.wordpress-org/and the generatedreadme.txtusing10up/action-wordpress-plugin-asset-update, independent of releases. It uses the same secrets asdeploy.yml.pushtomastertouching.wordpress-org/**orREADME.md— keeps things current from now onworkflow_dispatch— needed to publish what is already committed, since a path filter only reacts to future pushesNo plugin code is deployed by this workflow, so it does not release a version.
Notes for review
environment: productionis deliberately omitted.deploy.ymldeclares it, and that environment carries a protection rule. Requiring an approval for every asset sync would defeat the purpose. This assumesWP_ORG_USERNAME_TAROSKY/WP_ORG_PASSWORD_TAROSKYare organization or repository secrets rather than environment-scoped ones — if the first run fails on empty credentials, that assumption was wrong and the line needs adding back.readme.txtis synced too, generated fromREADME.mdthe same waydeploy.ymldoes it.Tested up tois written as e.g.7.0rather than7.0.2; WordPress.org resolves that to the latest patch of the branch, so this does not lower any published value.