Skip to content

Commit

Permalink
Setup upstream merge schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasbruvik committed Nov 13, 2023
1 parent 751d25c commit 673fec1
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/merge_upstream.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Merge upstream main
on:
schedule:
- cron: '0 06,12 * * *'
workflow_dispatch:
jobs:
merge:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Merge upstream
run: |
git pull --unshallow
git remote add upstream https://github.com/equinor/witsml-explorer.git
git fetch upstream main
git checkout main
git merge --no-edit upstream/main
git push origin main

0 comments on commit 673fec1

Please sign in to comment.