forked from ipdxco/unified-github-workflows
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (46 loc) · 1.4 KB
/
process-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
38
39
40
41
42
43
44
45
46
47
48
49
name: Process Run
on:
workflow_dispatch:
inputs:
targets:
description: "List of repository names to deploy to"
required: true
branch:
description: "Branch to deploy to"
required: true
script:
description: "Script to run"
required: true
defaults:
description: "Defaults to use for each repository"
required: false
default: '{}'
override:
description: "Override to use for each repository"
required: false
default: '{}'
dry-run:
description: "Whether to run in dry run mode"
required: false
default: 'false'
reset:
description: "Whether to allow resetting the branch"
required: false
default: 'true'
rebase:
description: "Whether to allow rebasing the branch"
required: false
default: 'true'
jobs:
process:
uses: ./.github/workflows/process.yml
secrets: inherit
with:
targets: ${{ github.event.inputs.targets }}
branch: ${{ github.event.inputs.branch }}
script: ${{ github.event.inputs.script }}
defaults: ${{ github.event.inputs.defaults }}
override: ${{ github.event.inputs.override }}
dry-run: ${{ github.event.inputs.dry-run == 'true' }}
reset: ${{ github.event.inputs.reset == 'true' }}
rebase: ${{ github.event.inputs.rebase == 'true' }}