Skip to content

Copy Templates

Copy Templates #76

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