Skip to content

Build AI methods with your coding agent, then run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.

fix/guard-branch

thomashebrard14715769e8db
diff --git a/.github/workflows/guard-branches.yml b/.github/workflows/guard-branches.yml
index 3997c492e..308577c0b 100644
--- a/.github/workflows/guard-branches.yml
+++ b/.github/workflows/guard-branches.yml
@@ -36,7 +36,7 @@ jobs:
if [[ "$HEAD" == "dev" ]]; then
exit 0
fi
- if [[ ! "$HEAD" =~ ^(fix|feature|refactor|chore|doc|ci-cd|changelog)\/[A-Za-z0-9._\/-]+$ ]]; then
+ if [[ ! "$HEAD" =~ ^(fix|feature|refactor|chore|doc|ci-cd|changelog)\/[A-Za-z0-9._\/<>=\-]+$ ]]; then
echo "::error::Branch must start with fix/, feature/, refactor/, chore/, doc/, or ci-cd/."
exit 1
fi