Skip to content

Add workflow files

Add workflow files #1

Workflow file for this run

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