Ensure slim-lint annotations are always uploaded in the main repo

This commit is contained in:
Sebastian Serth
2024-05-31 19:35:18 +02:00
committed by Dominic Sauer
parent db966eeb9d
commit 94ad197ff3

View File

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