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 c99327c commit 7b0b48c
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/sync-master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
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

0 comments on commit 7b0b48c

Please sign in to comment.