From 13c24e5697ccb27e6ed8785fd4ec4eaea2ec7189 Mon Sep 17 00:00:00 2001 From: Tianxin Dong Date: Fri, 15 Oct 2021 15:24:32 +0800 Subject: [PATCH] Fix: fix label trigger from startWith to contains (#2496) --- .github/workflows/issue-commands.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/issue-commands.yml b/.github/workflows/issue-commands.yml index 6c6353c75..a6e553bba 100644 --- a/.github/workflows/issue-commands.yml +++ b/.github/workflows/issue-commands.yml @@ -25,7 +25,7 @@ jobs: backport: runs-on: ubuntu-18.04 - if: github.event.issue.pull_request && startsWith(github.event.comment.body, '/backport') + if: github.event.issue.pull_request && contains(github.event.comment.body, '/backport') steps: - name: Extract Command id: command