Files
pezkuwi-wallet-utils/.github/workflows/sync-branches.yml
T

24 lines
495 B
YAML

name: Sync master to main
on:
push:
branches:
- master
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Sync master to main
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git checkout main
git merge master --no-edit
git push origin main