Skip to content

Commit 6e05b0e

Browse files
committed
fix(ci): run release only on main pushes
1 parent 851e6b4 commit 6e05b0e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎.github/workflows/main.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ jobs:
7070

7171
release:
7272
name: Release
73+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
7374
runs-on: ubuntu-latest
7475
permissions:
7576
contents: write # to be able to publish a GitHub release

0 commit comments

Comments
 (0)