From cd2b09ffb739bf85d0170d47afed0cb4259c711e Mon Sep 17 00:00:00 2001 From: Alex Kremer Date: Tue, 16 Jan 2024 12:28:48 +0000 Subject: [PATCH] Use contains syntax to grep for label (#1112) --- .github/workflows/clang-tidy_on_fix_merged.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/clang-tidy_on_fix_merged.yml b/.github/workflows/clang-tidy_on_fix_merged.yml index 3f1bf093..c897b9d3 100644 --- a/.github/workflows/clang-tidy_on_fix_merged.yml +++ b/.github/workflows/clang-tidy_on_fix_merged.yml @@ -6,6 +6,6 @@ on: jobs: on_fix_merge: - if: ${{ github.event.pull_request.merged == true && github.event.pull_request.labels.*.name == '[CI] clang-tidy auto fixes' }} + if: ${{ github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, '[CI] clang-tidy auto fixes') }} uses: ./.github/workflows/clang-tidy.yml secrets: inherit