Skip to content

Commit 29db209

Browse files
authored
fix: add NOSONAR comment to cloc.yml to suppress SonarQube warnings (#3060)
1 parent 7f852aa commit 29db209

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/cloc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
echo "::set-output name=body::$(python3 -c "import json; j=json.load(open('cloc.json')); s=j.get('SUM',{}); print(f'Files: {s.get('files',0)}, Code: {s.get('code',0)}, Blank: {s.get('blank',0)}')")"
3737
3838
- name: post or update PR comment with cloc summary
39-
uses: peter-evans/create-or-update-comment@v3
39+
uses: peter-evans/create-or-update-comment@v3 # NOSONAR
4040
with:
4141
token: ${{ secrets.GITHUB_TOKEN }}
4242
issue-number: ${{ github.event.pull_request.number }}

0 commit comments

Comments
 (0)