Conversation
There was a problem hiding this comment.
Pull request overview
This PR enables the website building workflow to trigger on version release tags in addition to pushes to the main branch. The workflow will now build and deploy documentation when semantic version tags are pushed to the repository.
Key Changes:
- Added tag patterns to trigger workflow on version releases (e.g.,
v1.0.0,1.0.0) - Included support for pre-release tags (e.g.,
v1.0.0-alpha.1)
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| - "v[0-9].[0-9].[0-9]*" | ||
| - "[0-9].[0-9].[0-9]*" | ||
| # Trigger on pre-release tags (e.g., v1.0.0-alpha.1) | ||
| - "v[0-9].[0-9].[0-9]*-*" | ||
| - "[0-9].[0-9].[0-9]*-*" |
There was a problem hiding this comment.
The tag patterns will only match versions where the major and minor version numbers are single digits (0-9). For example, v10.0.0 or v1.15.0 won't trigger the workflow.
Consider updating the patterns to support multi-digit version numbers:
- "v[0-9]+.[0-9]+.[0-9]+"
- "[0-9]+.[0-9]+.[0-9]+"
# For pre-release tags
- "v[0-9]+.[0-9]+.[0-9]+-*"
- "[0-9]+.[0-9]+.[0-9]+-*"This ensures all valid semantic version tags will trigger the workflow, not just those with single-digit major and minor versions.
| - "v[0-9].[0-9].[0-9]*" | |
| - "[0-9].[0-9].[0-9]*" | |
| # Trigger on pre-release tags (e.g., v1.0.0-alpha.1) | |
| - "v[0-9].[0-9].[0-9]*-*" | |
| - "[0-9].[0-9].[0-9]*-*" | |
| - "v[0-9]+.[0-9]+.[0-9]+" | |
| - "[0-9]+.[0-9]+.[0-9]+" | |
| # Trigger on pre-release tags (e.g., v1.0.0-alpha.1) | |
| - "v[0-9]+.[0-9]+.[0-9]+-*" | |
| - "[0-9]+.[0-9]+.[0-9]+-*" |
No description provided.