Skip to content

Resolve tag patterns in workflows for consistency#209

Merged
Borda merged 1 commit intodevelopfrom
ci/fix-pub
Jan 30, 2026
Merged

Resolve tag patterns in workflows for consistency#209
Borda merged 1 commit intodevelopfrom
ci/fix-pub

Conversation

@Borda
Copy link
Member

@Borda Borda commented Jan 30, 2026

This pull request updates the tag matching patterns in the GitHub Actions workflows responsible for publishing releases and pre-releases to PyPI. The changes correct the regular expressions so that version tags are properly recognized and handled by the workflows.

Workflow trigger improvements:

  • Updated the tag matching pattern in .github/workflows/publish-release.yml to correctly match standard release tags in the format X.Y.Z (e.g., 1.2.3).
  • Fixed and expanded the tag matching patterns in .github/workflows/publish-pre-release.yml to properly match pre-release tags (alpha, beta, release candidate) with and without a separating dot, such as 1.2.3a1, 1.2.3.a1, 1.2.3b1, 1.2.3.b1, etc.

Copilot AI review requested due to automatic review settings January 30, 2026 12:02
@Borda Borda requested a review from SkalskiP as a code owner January 30, 2026 12:02
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 pull request attempts to fix tag matching patterns in GitHub Actions workflows for publishing releases and pre-releases to PyPI. The changes modify the patterns to better match semantic version tags by removing redundant pattern segments.

Changes:

  • Simplified release tag pattern from [0-9]+.[0-9]+[0-9]+.[0-9] to [0-9]+.[0-9]+.[0-9] in publish-release.yml
  • Updated pre-release tag patterns to use three version components instead of four, and added support for dot-separated pre-release identifiers (e.g., 1.2.3.a1)

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
.github/workflows/publish-release.yml Updated tag pattern to match X.Y.Z format versions by removing redundant pattern segment
.github/workflows/publish-pre-release.yml Corrected and expanded pre-release tag patterns to match both 1.2.3a1 and 1.2.3.a1 style tags

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

@Borda Borda merged commit 8ec50d4 into develop Jan 30, 2026
25 checks passed
@Borda Borda deleted the ci/fix-pub branch January 30, 2026 14:08
@Borda Borda added the bug Something isn't working label Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant