1- # Generated for Konflux Application openshift-pipelines-operator-1.20 by openshift-pipelines/hack. DO NOT EDIT
2- name : update-sources-release-v1.20 .x
1+ # Generated for Konflux Application openshift-pipelines-operator-1.21 by openshift-pipelines/hack. DO NOT EDIT
2+ name : update-sources-release-v1.21 .x
33
44on :
55 workflow_dispatch : {}
1818 - name : Checkout the current repo
1919 uses : actions/checkout@v4
2020 with :
21- ref : release-v1.20 .x
21+ ref : release-v1.21 .x
2222
2323 - name : Clone tektoncd/operator
2424 run : |
6161 run : |
6262 git config user.name openshift-pipelines-bot
6363 git config user.email [email protected] 64- git checkout -b actions/update/sources-release-v1.20 .x
64+ git checkout -b actions/update/sources-release-v1.21 .x
6565 touch head
6666 pushd upstream
6767 OLD_COMMIT=$(cat ../head)
@@ -83,22 +83,22 @@ jobs:
8383 fi
8484
8585 git commit -F- <<EOF
86- [bot] Update release-v1.20 .x from tektoncd/operator to ${NEW_COMMIT}
86+ [bot] Update release-v1.21 .x from tektoncd/operator to ${NEW_COMMIT}
8787
8888 $ git diff --stat ${NEW_COMMIT}..${OLD_COMMIT}
8989 $(cat /tmp/diff.txt | sed 's/^/ /' | head -c 55555)
9090
9191 https://github.com/tektoncd/operator/compare/${NEW_COMMIT}..${OLD_COMMIT}
9292 EOF
9393
94- git push -f origin actions/update/sources-release-v1.20 .x
94+ git push -f origin actions/update/sources-release-v1.21 .x
9595
96- if [ "$(gh pr list --base release-v1.20 .x --head actions/update/sources-release-v1.20 .x --json url --jq 'length')" = "0" ]; then
96+ if [ "$(gh pr list --base release-v1.21 .x --head actions/update/sources-release-v1.21 .x --json url --jq 'length')" = "0" ]; then
9797 echo "creating PR..."
98- gh pr create -B release-v1.20 .x -H actions/update/sources-release-v1.20 .x --label=automated --label=upstream --fill
98+ gh pr create -B release-v1.21 .x -H actions/update/sources-release-v1.21 .x --label=automated --label=upstream --fill
9999 else
100100 echo "a PR already exists, editing..."
101- gh pr edit --title "[bot] Update release-v1.20 .x from tektoncd/operator to ${NEW_COMMIT}" --body "$(cat /tmp/diff.txt | sed 's/^/ /' | head -c 55555)"
101+ gh pr edit --title "[bot] Update release-v1.21 .x from tektoncd/operator to ${NEW_COMMIT}" --body "$(cat /tmp/diff.txt | sed 's/^/ /' | head -c 55555)"
102102 fi
103103 env :
104104 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments