File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 - .github/workflows/update-sources.yaml
1010jobs :
1111 update-sources :
12- # This line prevents the job from running if CodeFreeze is true
13- if : true
1412 runs-on : ubuntu-latest
1513 permissions :
1614 contents : write
5654 fi
5755
5856 git commit -F- <<EOF
59- [bot] Update release-v1.23.x from tektoncd-catalog/git-clone:main to ${NEW_COMMIT}
57+ [bot] Update release-v1.23.x from tektoncd-catalog/git-clone to ${NEW_COMMIT}
6058
6159 $ git diff --stat ${NEW_COMMIT}..${OLD_COMMIT}
6260 $(cat /tmp/diff.txt | sed 's/^/ /' | head -c 55555)
7169 gh pr create -B release-v1.23.x -H actions/update/sources-release-v1.23.x --label=automated --label=upstream --fill
7270 else
7371 echo "a PR already exists, editing..."
74- gh pr edit --title "[bot] Update release-v1.23.x from tektoncd-catalog/git-clone:main to ${NEW_COMMIT}" --body "$(cat /tmp/diff.txt | sed 's/^/ /' | head -c 55555)"
72+ gh pr edit --title "[bot] Update release-v1.23.x from tektoncd-catalog/git-clone to ${NEW_COMMIT}" --body "$(cat /tmp/diff.txt | sed 's/^/ /' | head -c 55555)"
7573 fi
7674 env :
7775 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments