From c72dc3d7a145519ee6554a5b139182795efaaf7b Mon Sep 17 00:00:00 2001 From: yanglbme Date: Sun, 13 Sep 2020 11:12:33 +0800 Subject: [PATCH] feat: add branch-merge action --- .github/workflows/branch-merge.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/branch-merge.yml diff --git a/.github/workflows/branch-merge.yml b/.github/workflows/branch-merge.yml new file mode 100644 index 0000000..05f7b15 --- /dev/null +++ b/.github/workflows/branch-merge.yml @@ -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}'