Skip to content

Add workflow files

Add workflow files #1

Workflow file for this run

name: Sync master with main
on:
push:
branches:
- master
permissions:
contents: write
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout master branch
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Update main branch
run: |
git checkout master
git fetch origin
git checkout main
git pull
git merge origin/master
git push origin main