support triggering CI manually

This commit is contained in:
Fangjun Kuang 2023-09-27 14:47:52 +08:00
parent edc37b0829
commit 0ab247fb8c

View File

@ -23,13 +23,20 @@ on:
pull_request: pull_request:
types: [labeled] types: [labeled]
workflow_dispatch:
inputs:
test-run:
description: 'Test (y/n)?'
required: true
default: 'y'
concurrency: concurrency:
group: run_pre_trained_conformer_ctc-${{ github.ref }} group: run_pre_trained_conformer_ctc-${{ github.ref }}
cancel-in-progress: true cancel-in-progress: true
jobs: jobs:
run_pre_trained_conformer_ctc: run_pre_trained_conformer_ctc:
if: github.event.label.name == 'ready' || github.event_name == 'push' || github.event.label.name == 'ctc' if: github.event.label.name == 'ready' || github.event_name == 'push' || github.event.inputs.test-run == 'y'
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix: