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}}