Skip to content

Commit

Permalink
ci: Fix up release please trigger for release branches (#894)
Browse files Browse the repository at this point in the history
Correctly run release-please in context of release branch.

Already present in main, duplicating to release branch.
  • Loading branch information
jimmidyson authored Aug 30, 2024
1 parent 2db696a commit 4cd8063
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 2023 Nutanix. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

name: release-please-main
name: release-please

on:
push:
Expand All @@ -22,8 +22,10 @@ jobs:
release-please:
runs-on: ubuntu-22.04
steps:
- uses: google-github-actions/release-please-action@v4
- uses: googleapis/release-please-action@v4
id: release-please
with:
target-branch: ${{ github.ref_name }}

- uses: actions/checkout@v4
if: ${{ steps.release-please.outputs.release_created }}
Expand Down

0 comments on commit 4cd8063

Please sign in to comment.