Skip to content

Commit 55aadef

Browse files
ci: update publish.yml
1 parent 14db6ae commit 55aadef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions:
1212

1313
jobs:
1414
publish:
15-
if: github.event.workflow_run.conclusion == 'success'
15+
if: github.event.workflow_run.conclusion == 'success' && github.ref == 'refs/heads/main'
1616
runs-on: ubuntu-latest
1717

1818
steps:

0 commit comments

Comments
 (0)