Merge pull request #107 from projectsyn/feat/configurable-patch-autom… #43
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: Sync | |
on: | |
workflow_dispatch: | |
inputs: | |
filter: | |
description: 'Filter sync for a specific repository (exact name or regex)' | |
required: false | |
default: '' | |
push: | |
branches: | |
- main | |
paths: | |
- '{{ cookiecutter.slug }}/**' | |
- 'hooks/**' | |
- 'components.yaml' | |
jobs: | |
sync: | |
uses: ./.github/workflows/sync_base.yaml | |
with: | |
sync_args: '--filter "${{github.event.inputs.filter}}"' | |
secrets: | |
gh_token: ${{ secrets.COMMODORE_GITHUB_TOKEN }} | |
ssh_key: ${{ secrets.SSH_PRIVATE_KEY }} |