Skip to content

Commit b66de2b

Browse files
committed
skip version detection if not on main
1 parent 1798ca4 commit b66de2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ jobs:
194194
195195
- name: Detect new version
196196
id: check-version
197-
if: steps.check-parent-commit.outputs.sha
197+
if: github.ref == 'refs/heads/main' && steps.check-parent-commit.outputs.sha
198198
uses: salsify/[email protected]
199199
with:
200200
create-tag: false

0 commit comments

Comments
 (0)