Files
hatchet/.github/workflows/sync-go-quickstart.yml

30 lines
708 B
YAML

name: Sync Go Quickstart
on:
push:
branches:
- main
paths:
- 'examples/go/quickstart/**'
workflow_dispatch:
inputs:
manual_trigger:
description: 'Manually trigger the sync'
default: 'true'
required: false
jobs:
sync:
runs-on: ubicloud-standard-2
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: Run sync script
env:
SYNC_TOKEN: ${{ secrets.SYNC_TOKEN }}
run: |
./hack/sync-quickstart.sh --source-dir "examples/go/quickstart" --target-repo "hatchet-dev/hatchet-go-quickstart"