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
1214 runs-on : ubuntu-latest
1315 permissions :
1416 contents : write
5456 fi
5557
5658 git commit -F- <<EOF
57- [bot] Update release-v1.23.x from tektoncd-catalog/git-clone to ${NEW_COMMIT}
59+ [bot] Update release-v1.23.x from tektoncd-catalog/git-clone:main to ${NEW_COMMIT}
5860
5961 $ git diff --stat ${NEW_COMMIT}..${OLD_COMMIT}
6062 $(cat /tmp/diff.txt | sed 's/^/ /' | head -c 55555)
6971 gh pr create -B release-v1.23.x -H actions/update/sources-release-v1.23.x --label=automated --label=upstream --fill
7072 else
7173 echo "a PR already exists, editing..."
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)"
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)"
7375 fi
7476 env :
7577 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments