We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffd1664 commit e18851aCopy full SHA for e18851a
.github/workflows/cs-linter.yml
@@ -4,7 +4,7 @@ on:
4
push:
5
branches:
6
- feat/cs-linter-action
7
-
+
8
workflow_dispatch: # Allows manual execution via GitHub CLI
9
10
jobs:
@@ -37,8 +37,8 @@ jobs:
37
dotnet build --no-restore /warnaserror- /p:AnalysisLevel=latest "$file"
38
done
39
40
- - name: Post Warnings as PR Comments
+ - name: Print Lint Warnings
41
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. 🚀"
+ run: |
+ echo "⚠️ Lint warnings detected:"
+ cat lint_warnings.log || echo "No warnings found!"
0 commit comments