From 1d9f30220ad1c648bbca32073b5d9017fa576850 Mon Sep 17 00:00:00 2001 From: Remco Westerhoud Date: Thu, 9 Nov 2023 16:15:52 +0100 Subject: [PATCH] ci: don't trigger backport loops Prevent the backport action user from triggering on his own /backport commands --- .github/workflows/backport.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index 59551a7e1..2eb047cd0 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -17,6 +17,7 @@ jobs: ) || ( github.event_name == 'issue_comment' && github.event.issue.pull_request && + github.event.comment.user.id != 97796249 && contains(github.event.comment.body, '/backport') ) steps: