From fbafef6b0a75beb3d2b05954be6ae46ceb62df02 Mon Sep 17 00:00:00 2001 From: Joshua Schmid Date: Thu, 23 Nov 2023 15:36:15 +0100 Subject: [PATCH] fix(cherry-picks): prevent comment flood in case of errors Signed-off-by: Joshua Schmid --- .github/workflows/cherry-picks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cherry-picks.yml b/.github/workflows/cherry-picks.yml index 6383c1d5fd6a..82c1a0df4130 100644 --- a/.github/workflows/cherry-picks.yml +++ b/.github/workflows/cherry-picks.yml @@ -19,7 +19,7 @@ jobs: github.event_name == 'issue_comment' && github.event.issue.pull_request && contains(fromJSON('["MEMBER", "COLLABORATOR", "OWNER"]'), github.event.comment.author_association) && - contains(github.event.comment.body, '/cherry-pick') + startsWith(github.event.comment.body, '/cherry-pick') ) steps: - uses: actions/checkout@v4