Skip to content

Commit

Permalink
ci: allow force-release
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-solanki committed Jun 15, 2023
1 parent ed1a80e commit 56b2114
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/check-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,15 @@ jobs:

build-release:
if: |
github.event_name == 'push' &&
!contains(github.event.head_commit.message, '[skip-release]') &&
!contains(github.event.head_commit.message, 'chore') &&
!contains(github.event.head_commit.message, 'docs')
github.event_name == 'push'
&& (
(
!contains(github.event.head_commit.message, '[skip-release]')
&& !contains(github.event.head_commit.message, 'chore')
&& !contains(github.event.head_commit.message, 'docs')
)
|| contains(github.event.head_commit.message, '[force-release]')
)
needs:
- build
- lint
Expand Down

0 comments on commit 56b2114

Please sign in to comment.