Skip to content

Commit e01e4c1

Browse files
ofershapcursoragent
andcommitted
fix: trigger release workflow on push to main, not tags
semantic-release creates the tags itself — the workflow needs to run on push to main so it can analyze commits and decide whether to publish. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent fe3a64f commit e01e4c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Release
22

33
on:
44
push:
5-
tags: ["v*"]
5+
branches: [main]
66

77
permissions:
88
contents: write

0 commit comments

Comments
 (0)