From 94ad197ff3922002d245b5bab7a997025f30fbd3 Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Fri, 31 May 2024 19:35:18 +0200 Subject: [PATCH] Ensure slim-lint annotations are always uploaded in the main repo --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d542146..bde544c9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -134,7 +134,7 @@ jobs: - name: Upload slim-lint results as GitHub annotations uses: lcollins/checkstyle-github-action@v3.0.0 # Only create GitHub annotations for the main repo (disable for forks): - if: ${{ github.event.pull_request.head.repo.full_name == github.repository }} + if: ${{ always() && github.event.pull_request.head.repo.full_name == github.repository }} with: name: Slim-Lint Report title: Analyze Slim templates for linting issues