Skip to content

Commit ea83775

Browse files
author
openshift-pipelines-bot
committed
auto-approve-konflux-nudges for next branch
1 parent a503f0a commit ea83775

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/auto-merge-next.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
- name: Checkout the current repo
1616
uses: actions/checkout@v4
17-
- name: auto-approve-update-references
17+
- name: auto-approve-konflux-nudges
1818
run: |
1919
gh auth status
2020
git config user.name openshift-pipelines-bot
@@ -23,7 +23,7 @@ jobs:
2323
BASE_BRANCH=next
2424
echo "Base branch is $BASE_BRANCH"
2525
# LGTM pull requests that might have one review but no more lgtm
26-
for p in $(gh pr list --search "author:app/red-hat-konflux base:$BASE_BRANCH" --json "number" | jq ".[].number"); do
26+
for p in $(gh pr list --search "label:konflux-nudge base:$BASE_BRANCH" --json "number" | jq ".[].number"); do
2727
echo "Approving PR $p"
2828
gh pr review $p --approve --body "/lgtm"
2929
done

0 commit comments

Comments
 (0)