From 5ae13666abcca3438376dd837b60519ee46f5e0e Mon Sep 17 00:00:00 2001 From: openshift-pipelines-bot Date: Wed, 20 Nov 2024 09:43:21 +0000 Subject: [PATCH] [bot] update konflux configuration --- .github/workflows/update-sources.main.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-sources.main.yaml b/.github/workflows/update-sources.main.yaml index d6a6cb0879..39de7efb55 100644 --- a/.github/workflows/update-sources.main.yaml +++ b/.github/workflows/update-sources.main.yaml @@ -64,9 +64,10 @@ jobs: if [ "$(gh pr list --base main --head actions/update/sources-main --json url --jq 'length')" = "0" ]; then echo "creating PR..." - gh pr create -B main -H actions/update/sources-main --fill + gh pr create -B main -H actions/update/sources-main --label=automated --label=upstream --fill else - echo "a PR already exists, skipping..." + echo "a PR already exists, editing..." + gh pr edit --title "[bot] Update from tektoncd/hub to ${NEW_COMMIT}" --body "$(cat /tmp/diff.txt | sed 's/^/ /')" fi env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}