File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 4
4
branches :
5
5
- main
6
6
pull_request :
7
+ workflow_dispatch : # Added to allow manual triggering from the main workflow
8
+ inputs :
9
+ head_sha : # Input for the PR’s head SHA
10
+ description : ' Head SHA of the PR to test'
11
+ required : true
7
12
jobs :
8
13
test-bot :
9
14
strategy :
@@ -42,12 +47,12 @@ jobs:
42
47
- run : brew test-bot --only-tap-syntax
43
48
44
49
- run : brew test-bot --only-formulae
45
- if : github.event_name == 'pull_request'
50
+ if : github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
46
51
env :
47
52
HOMEBREW_ARCH : ${{ matrix.arch }}
48
53
49
54
- name : Upload bottles as artifact
50
- if : always() && github.event_name == 'pull_request'
55
+ if : always() && ( github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch')
51
56
uses : actions/upload-artifact@v4
52
57
with :
53
58
name : bottles-${{ matrix.os }}-${{ matrix.arch }}
You can’t perform that action at this time.
0 commit comments