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 openshift-merge-bot[bot] committed Nov 20, 2024
1 parent 2560cfe commit 4078353
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/update-sources.main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,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/operator to ${NEW_COMMIT}" --body "$(cat /tmp/diff.txt | sed 's/^/ /')"
fi
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 3 additions & 2 deletions .github/workflows/update-sources.release-v1.17.x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,10 @@ jobs:
if [ "$(gh pr list --base release-v1.17.x --head actions/update/sources-release-v1.17.x --json url --jq 'length')" = "0" ]; then
echo "creating PR..."
gh pr create -B release-v1.17.x -H actions/update/sources-release-v1.17.x --fill
gh pr create -B release-v1.17.x -H actions/update/sources-release-v1.17.x --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/operator to ${NEW_COMMIT}" --body "$(cat /tmp/diff.txt | sed 's/^/ /')"
fi
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4078353

Please sign in to comment.