Use contains syntax to grep for label (#1112)

This commit is contained in:
Alex Kremer
2024-01-16 12:28:48 +00:00
committed by GitHub
parent 3c62a1f42c
commit cd2b09ffb7

View File

@@ -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