feat: add branch-merge action

This commit is contained in:
yanglbme 2020-09-13 11:26:24 +08:00
parent c2ed645ec6
commit fdd2ee71e7

17
.github/workflows/branch-merge.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: Merge Branch
on:
push:
branches: [ imgbot ]
jobs:
merge-branch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: everlytic/branch-merge@1.1.0
with:
github_token: ${{ github.token }}
source_ref: ${{ github.ref }}
target_branch: 'master'
commit_message_template: '[Automated] Merged {source_ref} into {target_branch}'