Skip to content

Sync Vitessio

Sync Vitessio #216

Workflow file for this run

name: Sync Vitessio
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
permissions:
contents: write
actions: write
jobs:
sync:
runs-on: ubuntu-24.04
steps:
- name: Checkout forked repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: release-22-hubspot
fetch-depth: 0
token: ${{ secrets.VITESS_SYNC_PAT }}
persist-credentials: true # keep creds for push
- name: Set up git user
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: Add vitessio as remote
run: git remote add vitessio https://github.com/vitessio/vitess.git
- name: Fetch remote changes from vitessio
run: git fetch vitessio
- name: Merge vitessio release-22.0 branch into hubspot fork branch release-22-hubspot
run: git merge vitessio/release-22.0 --ff --allow-unrelated-histories
- name: Push changes to forked repo
run: git push origin release-22-hubspot