Skip to content

Commit e18851a

Browse files
committed
fix: improvements to the linter.
1 parent ffd1664 commit e18851a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/cs-linter.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches:
66
- feat/cs-linter-action
7-
7+
88
workflow_dispatch: # Allows manual execution via GitHub CLI
99

1010
jobs:
@@ -37,8 +37,8 @@ jobs:
3737
dotnet build --no-restore /warnaserror- /p:AnalysisLevel=latest "$file"
3838
done
3939
40-
- name: Post Warnings as PR Comments
40+
- name: Print Lint Warnings
4141
if: env.FILES != ''
42-
uses: mshick/add-pr-comment@v2
43-
with:
44-
message: "⚠️ Code analysis found warnings in this PR. While these are not blocking, consider addressing them for better code quality. 🚀"
42+
run: |
43+
echo "⚠️ Lint warnings detected:"
44+
cat lint_warnings.log || echo "No warnings found!"

0 commit comments

Comments
 (0)