From c01d2fe6b45fec755053afe3c36adfc7c9acf17f Mon Sep 17 00:00:00 2001 From: Nicola Soranzo Date: Tue, 8 Dec 2020 17:34:14 +0000 Subject: [PATCH] Fix exclamation mark breaking GH workflow Fix the following error: ``` The workflow is not valid. .github/workflows/maintenance_bot.yaml: (Line: 14, Col: 13, Idx: 253) - (Line: 14, Col: 14, Idx: 254): While parsing a tag, did not find expected tag URI. ``` --- .github/workflows/maintenance_bot.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maintenance_bot.yaml b/.github/workflows/maintenance_bot.yaml index 4034602467c..a34a2be4f07 100644 --- a/.github/workflows/maintenance_bot.yaml +++ b/.github/workflows/maintenance_bot.yaml @@ -11,7 +11,7 @@ jobs: MILESTONE_NUMBER: 18 steps: - name: Add area labels - if: ! contains(join(github.event.pull_request.labels.*.name, ', '), 'area/') + if: ${{ ! contains(join(github.event.pull_request.labels.*.name, ', '), 'area/') }} uses: actions/labeler@main with: repo-token: "${{ secrets.GITHUB_TOKEN }}"