Skip to content

Commit

Permalink
Check condition for early release
Browse files Browse the repository at this point in the history
  • Loading branch information
sualeh committed Dec 23, 2024
1 parent a23641a commit e5d1f7d
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/early-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,9 @@ jobs:
build:
name: Create Release
if: |
(
github.event.pull_request.merged == true
||
github.event_name == 'workflow_dispatch'
)
&&
github.event.pull_request.base.ref == 'main'
(github.event.pull_request.merged == true &&
github.event.pull_request.base.ref == 'main') ||
github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
steps:

Expand Down

0 comments on commit e5d1f7d

Please sign in to comment.