forked from ipdxco/unified-github-workflows
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (47 loc) · 1.39 KB
/
copy-templates.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: Copy Templates
on:
workflow_dispatch:
inputs:
targets:
description: "List of repository names to deploy to"
required: true
force:
description: "Force copy even if file exists"
required: false
version:
description: "Version to use for templates"
required: false
dry-run:
description: "Whether to run in dry run mode"
required: false
default: 'false'
jobs:
copy-templates:
uses: ./.github/workflows/process.yml
secrets: inherit
with:
targets: ${{ github.event.inputs.targets }}
branch: uci/copy-templates
script: copy-templates.sh
defaults: |
language:
Go:
files:
- .github/workflows/go-test.yml
- .github/workflows/go-check.yml
- .github/workflows/releaser.yml
- .github/workflows/release-check.yml
- .github/workflows/tagpush.yml
- version.json
JavaScript:
files:
- .github/workflows/js-test-and-release.yml
TypeScript:
files:
- .github/workflows/js-test-and-release.yml
override: |
common:
force: ${{ github.event.inputs.force }}
versions:
uci: ${{ github.event.inputs.version }}
dry-run: ${{ github.event.inputs.dry-run == 'true' }}