Skip to content

Dispatch kola tests #39

Dispatch kola tests

Dispatch kola tests #39

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 }}