From 5b9d4bc07603c3558dacd4d8b42f32e56699c4a6 Mon Sep 17 00:00:00 2001 From: gitcommitshow <56937085+gitcommitshow@users.noreply.github.com> Date: Sat, 13 Apr 2024 01:38:48 +0530 Subject: [PATCH] ci: add gh action for release tagging and versioning --- .github/workflows/release-please.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/release-please.yml diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 0000000..c588c3e --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,26 @@ +on: + workflow_dispatch: + push: + branches: + - main + +permissions: + contents: write + pull-requests: write + +name: Prepare release + +jobs: + release-please: + strategy: + matrix: + os: [ubuntu-22.04] + + runs-on: ${{ matrix.os }} + steps: + - uses: google-github-actions/release-please-action@v4 + with: + token: ${{secrets.RELEASE_PLEASE_PAT}} + # this is a built-in strategy in release-please, see "Action Inputs" + # for more options + release-type: node