Skip to content

Commit 7012b2f

Browse files
committed
Add merge_branch workflow
1 parent ce5b00b commit 7012b2f

File tree

2 files changed

+19
-61
lines changed

2 files changed

+19
-61
lines changed

.github/workflows/docs.yml

Lines changed: 0 additions & 61 deletions
This file was deleted.

.github/workflows/merge_branch.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Merge Branch
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
merge-branch:
10+
name: Merge Branch
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: everlytic/branch-merge@1.1.2
15+
with:
16+
github_token: ${{ secrets.DOCS_TOKEN }}
17+
source_ref: 'main'
18+
target_branch: 'docs'
19+
commit_message_template: '[Automated] Merge {source_ref} into {target_branch}'

0 commit comments

Comments
 (0)