Skip to content

Commit

Permalink
[bot] update konflux configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
openshift-pipelines-bot authored and vdemeester committed Nov 27, 2024
1 parent 9623b68 commit 38c8166
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-sources.main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
fi
git commit -F- <<EOF
[bot] Update from tektoncd/hub to ${NEW_COMMIT}
[bot] Update main from tektoncd/hub to ${NEW_COMMIT}
$ git diff --stat ${NEW_COMMIT}..${OLD_COMMIT}
$(cat /tmp/diff.txt | sed 's/^/ /')
Expand All @@ -68,7 +68,7 @@ jobs:
gh pr create -B main -H actions/update/sources-main --label=automated --label=upstream --fill
else
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/^/ /')"
gh pr edit --title "[bot] Update main from tektoncd/hub to ${NEW_COMMIT}" --body "$(cat /tmp/diff.txt | sed 's/^/ /')"
fi
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/update-sources.next.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
fi
git commit -F- <<EOF
[bot] Update from tektoncd/hub to ${NEW_COMMIT}
[bot] Update next from tektoncd/hub to ${NEW_COMMIT}
$ git diff --stat ${NEW_COMMIT}..${OLD_COMMIT}
$(cat /tmp/diff.txt | sed 's/^/ /')
Expand All @@ -68,7 +68,7 @@ jobs:
gh pr create -B next -H actions/update/sources-next --label=automated --label=upstream --fill
else
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/^/ /')"
gh pr edit --title "[bot] Update next from tektoncd/hub to ${NEW_COMMIT}" --body "$(cat /tmp/diff.txt | sed 's/^/ /')"
fi
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 38c8166

Please sign in to comment.