Dispatch kola tests #39
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dispatch kola tests | |
on: | |
workflow_dispatch: | |
inputs: | |
workflow_name_or_id: | |
type: string | |
required: true | |
default: ci.yaml | |
description: | | |
The workflow name or ID from where we'll download the artifacts to be tested. | |
E.g. the name of the YAML file (w/o path) of the respective workflow. | |
workflow_run_id: | |
type: string | |
required: true | |
description: | | |
The run ID of the workflow specified in workflow_name_or_id. | |
You can e.g. get this from a run's URL - | |
https://github.com/flatcar/scripts/actions/runs/<ID> . | |
permissions: | |
pull-requests: write | |
jobs: | |
test: | |
name: "Trigger kola test - test" | |
uses: ./.github/workflows/run-kola-tests.yaml | |
with: | |
workflow_name_or_id: ${{ github.event.inputs.workflow_name_or_id }} | |
workflow_run_id: ${{ github.event.inputs.workflow_run_id }} |