Skip to content

Commit 8807ec4

Browse files
authored
chire: Stop artifact being build on skip ci commits (#805)
1 parent a50d454 commit 8807ec4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: build
33
on:
44
push:
55
branches:
6-
- '*'
6+
- 'master'
77
pull_request:
88
branches:
99
- '*'
@@ -114,6 +114,8 @@ jobs:
114114

115115
artifact:
116116
runs-on: ubuntu-latest
117+
if: "!contains(github.event.head_commit.message, 'skip ci')"
118+
117119
steps:
118120
- name: Checkout
119121
uses: actions/checkout@v2

0 commit comments

Comments
 (0)