Skip to content

Commit c21a921

Browse files
committed
build: skip build on license auto update
1 parent 00614e3 commit c21a921

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ on:
99
jobs:
1010
build:
1111
name: build
12-
if: (!startsWith(github.event.head_commit.message, 'chore(release):'))
12+
if: >
13+
!startsWith(github.event.head_commit.message, 'chore(release):') && !(
14+
github.event_name == 'push' &&
15+
startsWith(github.event.head_commit.message, 'chore(license):')
16+
)
1317
runs-on: ubuntu-latest
1418
steps:
1519
- name: Checkout

0 commit comments

Comments
 (0)