Copy Templates #802
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: 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 | |
Rust: | |
files: | |
- .github/workflows/releaser.yml | |
- .github/workflows/release-check.yml | |
- .github/workflows/tagpush.yml | |
override: | | |
common: | |
force: ${{ github.event.inputs.force }} | |
versions: | |
uci: ${{ github.event.inputs.version }} | |
dry-run: ${{ github.event.inputs.dry-run == 'true' }} |