From 1a910a2413e0bc9f40f410a323ceec7d0c6622a7 Mon Sep 17 00:00:00 2001 From: Ruud Senden <8635138+rsenden@users.noreply.github.com> Date: Tue, 13 Aug 2024 13:27:13 +0200 Subject: [PATCH] ci: Rename branch main->v2.x for consistency with v1.x --- .github/workflows/ci.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 59c1a91e1b..25d7f96908 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,13 +25,12 @@ jobs: - name: PROD - Prepare GitHub release id: create_prod_release - uses: GoogleCloudPlatform/release-please-action@v3 + uses: googleapis/release-please-action@v4 if: github.ref == 'refs/heads/v2.x' with: - command: github-release + skip-github-pull-request: true release-type: simple package-name: ${{ github.event.repository.name }} - default-branch: v2.x - name: PROD - Define release info if: steps.create_prod_release.outputs.release_created @@ -267,12 +266,12 @@ jobs: - name: PROD - Prepare release PR if: github.ref == 'refs/heads/v2.x' - uses: GoogleCloudPlatform/release-please-action@v3 + uses: googleapis/release-please-action@v4 with: - command: release-pr + skip-github-release: true release-type: simple package-name: ${{ github.event.repository.name }} - default-branch: v2.x + target-branch: v2.x - name: DEV - Prepare GitHub release if: needs.build.outputs.do_dev_release