-
Notifications
You must be signed in to change notification settings - Fork 10
37 lines (33 loc) · 1.02 KB
/
dispatch-run.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Dispatch Run
on:
workflow_dispatch:
inputs:
workflow:
description: "Workflow to dispatch (e.g. .github/workflows/update-go.yml)"
required: true
inputs:
description: 'Workflow inputs (e.g {"version": "1.24", "dry-run": "true"})'
required: false
default: '{}'
filter:
description: 'Filter to apply to the list of repositories (e.g. .language == "Go" and .owner.login == "ipdxco")'
required: false
default: 'true'
dry-run:
description: "Whether to run in dry run mode"
required: false
default: 'false'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
actions: write
jobs:
dispatch:
uses: ./.github/workflows/dispatch.yml
secrets: inherit
with:
workflow: ${{ github.event.inputs.workflow }}
inputs: ${{ github.event.inputs.inputs }}
filter: ${{ github.event.inputs.filter }}
dry-run: ${{ github.event.inputs.dry-run == 'true' }}