From 062582e3b6f8f3af0624c7857c546cd05dd99ed0 Mon Sep 17 00:00:00 2001 From: Gregory Haddow Date: Fri, 10 Mar 2023 10:04:09 +0000 Subject: [PATCH] feat: add release gha workflow --- .github/workflows/release.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..e51ce24 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,21 @@ +# .github/workflows/release.yml +name: Release + +on: + pull_request: + types: [closed] + +jobs: + build: + runs-on: ubuntu-latest + + if: github.event.pull_request.merged + + steps: + - name: Generate Semver release + uses: nitinses/semver-release-action@v1.0.8 + with: + release_branch: master + generate_release_notes: true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}