From 57f30dd5b6af5abece7acbab8a8d40df47585831 Mon Sep 17 00:00:00 2001 From: Juan Carlos Farah Date: Wed, 2 Oct 2024 13:43:50 +0200 Subject: [PATCH] fix: update release-please workflow --- .github/workflows/release-please.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 415bd3a..2b153ce 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -1,3 +1,4 @@ +# Automate releases of new app versions name: release-please on: @@ -5,17 +6,25 @@ on: branches: - main +permissions: + contents: write + pull-requests: write + # needed for the auto-tag + issues: write + jobs: release-please: runs-on: ubuntu-latest steps: - - uses: google-github-actions/release-please-action@v4 + - uses: googleapis/release-please-action@v4 id: release with: + token: ${{ secrets.RELEASE_PLEASE_PAT }} release-type: node - uses: actions/checkout@v4 + # put created tag in an env variable to be sent to the dispatch - name: Set tag if: ${{ steps.release.outputs.releases_created == 'true' }} id: set-tag