Skip to content

Commit

Permalink
Add workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
dkogler committed Sep 17, 2024
1 parent edaac99 commit c99327c
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/sync-main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
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

0 comments on commit c99327c

Please # to comment.