Skip to content

Commit 100f2a6

Browse files
committed
ci(actions): support triggering a build with PR comment
1 parent 198ba81 commit 100f2a6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build.yml

+5
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,16 @@ on:
88
- next
99
- alpha
1010
- beta
11+
issue_comment:
12+
types: [created]
1113

1214
jobs:
1315
build:
1416
name: Build + Test + Release
1517
runs-on: ubuntu-latest
18+
if:
19+
${{ github.event_name == 'pull_request' || github.event_name == 'push' ||
20+
contains(github.event.comment, 'rebuild') }}
1621

1722
steps:
1823
- name: Get Yarn cache path

0 commit comments

Comments
 (0)