From a560a7463b6e69fd9e30ce895e892ec7e6de079a Mon Sep 17 00:00:00 2001 From: v-amolpatil Date: Thu, 21 Sep 2023 13:21:12 +0530 Subject: [PATCH] updated contains in github action --- .github/workflows/slash-command-armttk.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/slash-command-armttk.yaml b/.github/workflows/slash-command-armttk.yaml index 2744f0f09f5..fa87530e825 100644 --- a/.github/workflows/slash-command-armttk.yaml +++ b/.github/workflows/slash-command-armttk.yaml @@ -8,7 +8,7 @@ on: jobs: run-arm-ttk: runs-on: ubuntu-latest - if: ${{ github.actor != 'dependabot[bot]' && !github.event.pull_request.head.repo.fork && github.event.issue.pull_request && (contains(github.event.comment.body, '/armttk') || contains(github.event.comment.body, '/Armttk') || contains(github.event.comment.body, '/ARM-TTK') || contains(github.event.comment.body, '/ARMTTK') || contains(github.event.comment.body, '/arm-ttk') || contains(github.event.comment.body, '/ArmTtk')) }} + if: ${{ github.actor != 'dependabot[bot]' && !github.event.pull_request.head.repo.fork && github.event.issue.pull_request && contains(fromJson('["/armttk", "/Armttk", "/ARM-TTK", "/ARMTTK", "/arm-ttk", "/ArmTtk"]'), github.event.comment.body) }} outputs: solutionName: ${{ steps.step1.outputs.solutionName }} mainTemplateChanged: ${{ steps.step1.outputs.mainTemplateChanged }}