From 3e2fb3c6e2705ca6ea6359f64de64490b0d73b32 Mon Sep 17 00:00:00 2001 From: Arthri <41360489+a@users.noreply.github.com> Date: Sat, 17 Feb 2024 10:36:02 +0000 Subject: [PATCH] Fix misleading CI error --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 39dee619625..c17223f110a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,9 +39,10 @@ jobs: python -m tools.ci.check_icon_conflicts python -m tools.maplint.source --github ~/dreamchecker > ${GITHUB_WORKSPACE}/output-annotations.txt 2>&1 + echo 'DREAMCHECKER_ANNOTATED=1' >> "$GITHUB_ENV" - name: Annotate Lints uses: yogstation13/DreamAnnotate@v2 - if: always() + if: ${{ always() && env.DREAMCHECKER_ANNOTATED == '1' }} with: outputFile: output-annotations.txt