Ensure slim-lint annotations are always uploaded in the main repo
This commit is contained in:

committed by
Dominic Sauer

parent
db966eeb9d
commit
94ad197ff3
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -134,7 +134,7 @@ jobs:
|
|||||||
- name: Upload slim-lint results as GitHub annotations
|
- name: Upload slim-lint results as GitHub annotations
|
||||||
uses: lcollins/checkstyle-github-action@v3.0.0
|
uses: lcollins/checkstyle-github-action@v3.0.0
|
||||||
# Only create GitHub annotations for the main repo (disable for forks):
|
# 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:
|
with:
|
||||||
name: Slim-Lint Report
|
name: Slim-Lint Report
|
||||||
title: Analyze Slim templates for linting issues
|
title: Analyze Slim templates for linting issues
|
||||||
|
Reference in New Issue
Block a user