From 337889afb4b9c52b4d36c16c8d9307df6de86a32 Mon Sep 17 00:00:00 2001 From: Filippo Date: Wed, 1 May 2024 11:01:43 +0200 Subject: [PATCH] ci: fix release-please config (#139) * ci: fix bootstrap release please * ci: fix bootstrap * ci: add target branch to release please * ci: release please auth * ci: release-please config avoid component in tag --- .github/workflows/deploy.yml | 4 ---- .github/workflows/release.yml | 5 +++-- release-please-config.json | 1 + 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 34d81078..0e2576bf 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -8,10 +8,6 @@ on: #- release-* workflow_dispatch: -permissions: - contents: read - issues: write - jobs: subql_deploy_staging: if: ${{ github.ref_name == 'development' }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 671c6d63..12c04116 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,6 @@ on: push: branches: - main - - development permissions: contents: write @@ -16,7 +15,9 @@ jobs: steps: - uses: google-github-actions/release-please-action@v4 with: - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.RELEASE_PLEASE_TOKEN }} release-type: node target-branch: main + config-file: release-please-config.json + manifest-file: .release-please-manifest.json \ No newline at end of file diff --git a/release-please-config.json b/release-please-config.json index 856a55db..0ebb6b8f 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -1,5 +1,6 @@ { "bootstrap-sha": "674aca57b8685f27d0d76255b054346e3cc40327", + "include-component-in-tag": false, "packages": { ".": { "changelog-path": "CHANGELOG.md",