Improve deploy workflow and distribution configuration#271
Draft
Improve deploy workflow and distribution configuration#271
Conversation
…t, update .distignore - Restrict tag pattern to version-like tags ([0-9]+.[0-9]+.[0-9]+) to prevent accidental deployments from non-release tags - Add type: boolean to dry-run workflow_dispatch input for proper checkbox UI and simplify the comparison expression - Add CLAUDE.md and .distignore to .distignore so dev-only files are excluded from the WordPress.org SVN deployment https://claude.ai/code/session_01DM75vWFtVxixaWhENsBT22
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.
Summary
This PR refines the WordPress.org deployment workflow and distribution package configuration to improve reliability and clarity.
Key Changes
Deploy Workflow (
deploy.yml)*) to semantic versioning pattern ([0-9]+.[0-9]+.[0-9]+) to only deploy on valid version tagsdefault: 'true'todefault: true(boolean)inputs['dry-run'] == 'true'toinputs.dry-runfor cleaner syntaxDistribution Configuration (
.distignore)/.distignoreto the ignore list to exclude the distribution configuration file itself from packages/CLAUDE.mdto exclude development/documentation files from distributionImplementation Details
The workflow improvements ensure that:
https://claude.ai/code/session_01DM75vWFtVxixaWhENsBT22