diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e293b29..0d2873f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,7 +26,7 @@ jobs: fi - run: aiken build - uses: actions/github-script@v6 - if: ${{ env.FAILING_TESTS }} + if: failure() && ${{ env.FAILING_TESTS }} with: script: | github.rest.issues.createComment({