Skip to content

Commit

Permalink
[ci] Creating CR release branch on Create Pull Request step
Browse files Browse the repository at this point in the history
* Running Create Pull Request only if not triggered by ACT

Signed-off-by: dd di cesare <[email protected]>
  • Loading branch information
didierofrivia committed Mar 4, 2025
1 parent e1591f1 commit 48f9be4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/automated-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ jobs:
git checkout -b "$base_branch"
git push origin
fi
echo "Creating candidate release branch"
git checkout -b release-v${{ github.event.inputs.kuadrantOperatorVersion }}
- name: Prepare release
id: prepare-release
Expand Down Expand Up @@ -116,6 +113,7 @@ jobs:
- name: Create Pull Request
id: cpr
if: ${{ !env.ACT }}
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.KUADRANT_DEV_PAT }}
Expand Down

0 comments on commit 48f9be4

Please sign in to comment.