mirror of
https://github.com/doocs/md.git
synced 2024-11-24 19:10:34 +08:00
feat: add branch-merge action
This commit is contained in:
parent
c2ed645ec6
commit
fdd2ee71e7
17
.github/workflows/branch-merge.yml
vendored
Normal file
17
.github/workflows/branch-merge.yml
vendored
Normal 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}'
|
Loading…
Reference in New Issue
Block a user