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:
types: [labeled]
workflow_dispatch:
inputs:
test-run:
description: 'Test (y/n)?'
required: true
default: 'y'
concurrency:
group: run_pre_trained_conformer_ctc-${{ github.ref }}
cancel-in-progress: true
jobs:
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 }}
strategy:
matrix: