Skip to content

feat: support regex matching for git tag triggers#4764

Open
Cynthia-0203 wants to merge 4 commits into
koderover:mainfrom
Cynthia-0203:feat/workflow-git-trigger-tag-regex
Open

feat: support regex matching for git tag triggers#4764
Cynthia-0203 wants to merge 4 commits into
koderover:mainfrom
Cynthia-0203:feat/workflow-git-trigger-tag-regex

Conversation

@Cynthia-0203

@Cynthia-0203 Cynthia-0203 commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

What this PR does / Why we need it:

This PR adds regex matching support for Workflow V4 Git tag triggers.
Previously, when a Git tag event was enabled, any pushed tag could trigger the workflow. Users could configure regex matching for target branches, but tag trigger matching did not support an independent regex mode.

What is changed and how it works?

Added tag_is_regular to MainHookRepo to represent whether the configured tag should be treated as a regex.

Does this PR introduce a user-facing change?

  • API change
  • database schema change
  • upgrade assistant change
  • change in non-functional attributes such as efficiency or availability
  • fix of a previous issue

This change is Reviewable

Signed-off-by: Cynthia <chenchen@koderover.com>
Signed-off-by: Cynthia <chenchen@koderover.com>
Signed-off-by: Cynthia <chenchen@koderover.com>
Signed-off-by: Cynthia <chenchen@koderover.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant