Skip to content

Commit a59cade

Browse files
committed
workflows: broaden criteria for auto-merge workflow
Previously, the search excluded PRs made by the blathers bot account as well as PRs that didn't have the blathers-backport label. In practice, this meant it only found PRs that were made by blathers _and also_ only if the original PR author had set up oauth to allow blathers to automatically backport it using their account. Now, the search will find any test only backport PR, regardless of author. Release note: None
1 parent 3d9d468 commit a59cade

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/auto-merge-backports.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
2525
const query = `
2626
query SearchPRs() {
27-
search(query: "repo:${context.repo.owner}/${context.repo.repo} is:pr is:open label:backport label:blathers-backport label:backport-test-only -author:blathers-crl[bot]", type: ISSUE, first: 100) {
27+
search(query: "repo:${context.repo.owner}/${context.repo.repo} is:pr is:open label:backport label:backport-test-only", type: ISSUE, first: 100) {
2828
nodes {
2929
... on PullRequest {
3030
number

0 commit comments

Comments
 (0)