Skip to content

restrict release action#113

Merged
bckohan merged 3 commits intomainfrom
release_fix
Jan 22, 2026
Merged

restrict release action#113
bckohan merged 3 commits intomainfrom
release_fix

Conversation

@bckohan
Copy link
Owner

@bckohan bckohan commented Jan 22, 2026

No description provided.

Copilot AI review requested due to automatic review settings January 22, 2026 18:53
Copy link
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

This PR restricts the release workflow to trigger only on specific semantic version tags by replacing the wildcard pattern v* with a more restrictive regex pattern.

Changes:

  • Updated the tag filter pattern from v* (which matches any tag starting with 'v') to v[0-9]*.[0-9]*.[0-9]* to match only semantic version tags (e.g., v1.0.0)

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

push:
tags:
- 'v*' # only publish on version tags (e.g. v1.0.0)
- 'v[0-9]*.[0-9]*.[0-9]*' # only publish on version tags (e.g. v1.0.0)
Copy link

Copilot AI Jan 22, 2026

Choose a reason for hiding this comment

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

The pattern [0-9]* allows for zero or more digits, which means it would match tags like v.. or v1.. (with no digits between dots). Consider using [0-9]+ instead to require at least one digit for each version component, ensuring only valid semantic version tags like v1.0.0 trigger the workflow.

Suggested change
- 'v[0-9]*.[0-9]*.[0-9]*' # only publish on version tags (e.g. v1.0.0)
- 'v[0-9]+.[0-9]+.[0-9]+' # only publish on version tags (e.g. v1.0.0)

Copilot uses AI. Check for mistakes.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings January 22, 2026 18:56
Copy link
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

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


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

@bckohan bckohan merged commit 44cb9e7 into main Jan 22, 2026
27 checks passed
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