Skip to content

Commit 3a6a2a8

Browse files
committed
fix: update job condition to allow push to main
1 parent 5a3ee97 commit 3a6a2a8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ jobs:
1717
name: Release
1818
runs-on: ubuntu-latest
1919
if: |
20-
(github.event_name == 'push' && (github.ref == 'refs/heads/beta' || github.ref == 'refs/heads/alpha')) ||
21-
(github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main') ||
20+
github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/beta' || github.ref == 'refs/heads/alpha') ||
2221
github.event_name == 'workflow_dispatch'
2322
2423
steps:

0 commit comments

Comments
 (0)