Skip to content

A platform for community discussion. Free, open, simple.

DEV: Allow patch triage bot to trigger backports (#40745)

Isaac Janzen4120aec3759e
diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml
index d4e1560061c..628961ab3e6 100644
--- a/.github/workflows/backport.yml
+++ b/.github/workflows/backport.yml
@@ -9,7 +9,10 @@ jobs:
if: |
github.event.issue.pull_request &&
contains(github.event.comment.body, '@discoursebot backport') &&
- contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)
+ (
+ contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association) ||
+ github.event.comment.user.login == 'patch-triage[bot]'
+ )
runs-on: ubuntu-latest
timeout-minutes: 15
permissions: