Skip to content

Commit fe7ba2b

Browse files
committed
fix(ci): gate release to main pushes
1 parent 52a8ef1 commit fe7ba2b

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
@@ -15,7 +15,7 @@ jobs:
1515
name: Release
1616
runs-on: ubuntu-latest
1717
timeout-minutes: 10
18-
if: github.event.workflow_run.conclusion == 'success'
18+
if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push' && github.event.workflow_run.head_branch == 'main'
1919
permissions:
2020
contents: write
2121
id-token: write

0 commit comments

Comments
 (0)