From a7782273056fd6aa623e860bfe4049ed475edae4 Mon Sep 17 00:00:00 2001 From: Pedro Carreno <34664891+Pkcarreno@users.noreply.github.com> Date: Tue, 10 Sep 2024 19:58:09 -0400 Subject: [PATCH] ci: add release workflow --- .github/workflows/release.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 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..c218571 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,28 @@ +on: + push: + branches: + - main + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} + +name: "release" + +jobs: + prepare: + uses: ./.github/workflows/precheck.yml + + release: + runs-on: ubuntu-latest + needs: [prepare] + permissions: + contents: write + pull-requests: write + steps: + - uses: googleapis/release-please-action@v4 + id: release + with: + release-type: node + outputs: + release-created: ${{ steps.release.outputs.release_created }}