Skip to content

Commit 0a3c7e7

Browse files
committed
Added action which auto merges to stable
1 parent b12657a commit 0a3c7e7

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Update release
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
workflow_dispatch:
8+
9+
jobs:
10+
merge-to-stable:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
17+
- name: Set git config
18+
run: |
19+
git config --local user.email "[email protected]"
20+
git config --local user.name "LinkDotNet Bot"
21+
22+
- name: Merge main to stable
23+
run: |
24+
git fetch
25+
git checkout stable
26+
git pull
27+
git merge --no-ff main -m "Updating to newest release"
28+
git push

0 commit comments

Comments
 (0)