File tree 1 file changed +9
-4
lines changed
1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 11
11
issues :
12
12
types :
13
13
- labeled
14
- workflow_dispatch : {}
14
+ workflow_dispatch :
15
+ inputs :
16
+ bisect_issue :
17
+ description : Triggers a bisect request on the given issue number instead of updating repros on all issues
18
+ required : false
19
+ type : string
15
20
16
21
jobs :
17
22
run :
18
- if : ${{ !github.event.label }}
23
+ if : ${{ !github.event.label && !github.event.inputs.bisect_issue }}
19
24
runs-on : ubuntu-latest
20
25
steps :
21
26
- name : Use node
25
30
github-token : ${{ secrets.TS_BOT_GITHUB_TOKEN }}
26
31
27
32
bisect :
28
- if : ${{ github.event.label.name == 'Bisect Repro' }}
33
+ if : ${{ github.event.label.name == 'Bisect Repro' || github.event.inputs.bisect_issue }}
29
34
runs-on : ubuntu-latest
30
35
steps :
31
36
- uses : actions/checkout@v3
37
42
- uses : microsoft/TypeScript-Twoslash-Repro-Action@master
38
43
with :
39
44
github-token : ${{ secrets.TS_BOT_GITHUB_TOKEN }}
40
- bisect : ${{ github.event.issue.number }}
45
+ bisect : ${{ github.event.issue.number || github.event.inputs.bisect_issue }}
You can’t perform that action at this time.
0 commit comments