Skip to content

Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.

ci: scope publish.yml tag filter to v[0-9]* so vscode-v* tags don't trigger it (#663)

Raghav Chamadiya6680c2822a64
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 791515a35..7985cdb75 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -2,7 +2,10 @@ name: Publish to PyPI
on:
push:
- tags: ['v*']
+ # Match release tags like v0.26.0 but NOT the extension's vscode-v* tags
+ # (which also start with "v"). Requiring a digit right after the "v" keeps
+ # the two tag namespaces from triggering each other.
+ tags: ['v[0-9]*']
permissions:
contents: write # needed for creating GitHub releases