From 50e4855db0fa8d28ff4567838e8772f5a2614e55 Mon Sep 17 00:00:00 2001 From: Raphael Odini Date: Fri, 9 Feb 2024 16:01:51 +0100 Subject: [PATCH 1/3] ci: add release-please github action --- .github/workflows/release-please.yml | 29 ++++++++++++++++++++++++++++ 1 file changed, 29 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 000000000..4893583e0 --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,29 @@ +name: release-please + +on: + push: + branches: + - main + +permissions: + contents: write + pull-requests: write + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: google-github-actions/release-please-action@v4 + with: + token: ${{ secrets.RELEASE_PLEASE_TOKEN }} + release-type: simple + changelog-types: | + [ + {"type":"feat","section":"Features","hidden":false}, + {"type":"fix","section":"Bug Fixes","hidden":false}, + {"type":"style","section":"Technical","hidden":false}, + {"type":"docs","section":"Technical","hidden":false}, + {"type":"test","section":"Technical","hidden":false}, + {"type":"chore","section":"Technical","hidden":false}, + {"type":"refactor","section":"Technical","hidden":false} + ] From 4b70dbd7ff911392ac4ac328bfa7f6505f2ceff0 Mon Sep 17 00:00:00 2001 From: Raphael Odini Date: Thu, 15 Feb 2024 09:51:10 +0100 Subject: [PATCH 2/3] Fix branch name --- .github/workflows/release-please.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 4893583e0..b9bcc8efa 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -3,7 +3,7 @@ name: release-please on: push: branches: - - main + - master permissions: contents: write From 5184175d9577c55f5a1bc60dd85fb7f11edebbcc Mon Sep 17 00:00:00 2001 From: Raphael Odini Date: Tue, 20 Feb 2024 10:16:31 +0100 Subject: [PATCH 3/3] simplify config. fix token --- .github/workflows/release-please.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index b9bcc8efa..6642ea8a9 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -15,15 +15,5 @@ jobs: steps: - uses: google-github-actions/release-please-action@v4 with: - token: ${{ secrets.RELEASE_PLEASE_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} release-type: simple - changelog-types: | - [ - {"type":"feat","section":"Features","hidden":false}, - {"type":"fix","section":"Bug Fixes","hidden":false}, - {"type":"style","section":"Technical","hidden":false}, - {"type":"docs","section":"Technical","hidden":false}, - {"type":"test","section":"Technical","hidden":false}, - {"type":"chore","section":"Technical","hidden":false}, - {"type":"refactor","section":"Technical","hidden":false} - ]