Skip to content

ci: fix asset/readme update workflow (IGNORE_OTHER_FILES)#154

Merged
kiransbsf merged 1 commit into
masterfrom
fix-asset-readme-workflow
Jul 16, 2026
Merged

ci: fix asset/readme update workflow (IGNORE_OTHER_FILES)#154
kiransbsf merged 1 commit into
masterfrom
fix-asset-readme-workflow

Conversation

@kiransbsf

Copy link
Copy Markdown
Contributor

The Plugin asset/readme update workflow has been failing on every push to master (for years) with 🛑 Other files have been modified; changes not deployed.

Cause

The 10up/action-wordpress-plugin-asset-update action, in its default mode, copies the whole repo into SVN trunk/ (respecting .distignore) and aborts if anything other than readme.txt differs. Our SVN trunk/ has drift vs. the repo — built admin/dashboard/assets/build/* (gitignored) and package-lock.json (in .distignore) exist in trunk but not in the repo — so the guard always trips.

Fix

Set IGNORE_OTHER_FILES: true so the action copies only readme.txt + .wordpress-org assets and ignores unrelated trunk files (documented flag). Actual code still ships via push-to-deploy.yml on tags. This lets the Tested up to: 7.0 readme bump actually reach WordPress.org.

@kiransbsf
kiransbsf merged commit a46b51a into master Jul 16, 2026
3 checks passed
@kiransbsf
kiransbsf deleted the fix-asset-readme-workflow branch July 16, 2026 13:37
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.

1 participant