From 09d04efe0790ab11dd1c0184c07b0737bdd8127f Mon Sep 17 00:00:00 2001 From: masatonaka Date: Sun, 8 Mar 2020 16:15:41 +0900 Subject: [PATCH] check if it's possible to specify branch and tag --- .github/workflows/branch-and-tag.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/branch-and-tag.yml diff --git a/.github/workflows/branch-and-tag.yml b/.github/workflows/branch-and-tag.yml new file mode 100644 index 00000000..3e4a89e4 --- /dev/null +++ b/.github/workflows/branch-and-tag.yml @@ -0,0 +1,21 @@ +name: branch & tag + +on: + push: + branch: + - merge + tags: + - v1.* + +jobs: + merge-branch: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: Merge to master branch + uses: devmasx/merge-branch@v1.1.0 + with: + type: now + target_branch: 'master' + env: + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}