diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index 619fca3..fd28555 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Examine Commit Message in ci-pr run: | - if (git log -1 --pretty=format:"%s" | grep "[run-slow-tests]"); then + if (git log -1 --pretty=format:"%s" | grep "\[run-slow-tests\]"); then echo 'RUN_SLOW_TESTS=-m "not slow"' >> $GITHUB_ENV fi diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4f9b3d0..a1676b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Examine Commit Message run: | - if (git log -1 --pretty=format:"%s" | grep "[run-slow-tests]"); then + if (git log -1 --pretty=format:"%s" | grep "\[run-slow-tests\]"); then echo 'RUN_SLOW_TESTS=-m "not slow"' >> $GITHUB_ENV fi