| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0d9a4fe commit 0976658
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,11 +11,16 @@ on: | |||
| 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,7 +30,7 @@ jobs: | |||
| 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,4 +42,4 @@ jobs: | |||
| 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 }} | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments