Skip to content

Commit

Permalink
Merge pull request #207 from KaotoIO/branch-creation-precheck
Browse files Browse the repository at this point in the history
Release Pipeline: Before creating a branch for opening PRs, delete it…
  • Loading branch information
oscerd authored Feb 13, 2024
2 parents b20617f + 15b8a5d commit df7f06f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ jobs:
git remote add upstream https://github.com/k8s-operatorhub/community-operators.git
git pull --rebase upstream main
git push -d origin ${BRANCH_NAME} || echo 'Skip branch deletion'
git checkout -b ${BRANCH_NAME}
mkdir -p operators/kaoto-operator/${{ github.event.inputs.operator_version }}
Expand Down Expand Up @@ -240,6 +241,7 @@ jobs:
git remote add upstream https://github.com/redhat-openshift-ecosystem/community-operators-prod.git
git pull --rebase upstream main
git push -d origin ${BRANCH_NAME} || echo 'Skip branch deletion'
git checkout -b ${BRANCH_NAME}
mkdir -p operators/kaoto-operator/${{ github.event.inputs.operator_version }}
Expand Down

0 comments on commit df7f06f

Please sign in to comment.