Skip to content

Merge pull request #106 from projectsyn/feat/post-gen-project-hook-pa… #42

Merge pull request #106 from projectsyn/feat/post-gen-project-hook-pa…

Merge pull request #106 from projectsyn/feat/post-gen-project-hook-pa… #42

Workflow file for this run

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