Skip to content

Release/1.2.1

Release/1.2.1 #11

name: Auto Release
on:
pull_request:
types: [closed]
jobs:
release:
name: Release
runs-on: ubuntu-latest
if: github.event.pull_request.merged && (github.event.pull_request.base.ref == 'main' || github.event.pull_request.base.ref == 'develop')
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Tag
uses: K-Phoen/semver-release-action@master
with:
release_branch: ${{ github.event.pull_request.base.ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}