This is an automated email from the ASF dual-hosted git repository.
alexstocks pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git
The following commit(s) were added to refs/heads/develop by this push:
new 29db20997 fix: add NOSONAR comment to cloc.yml to suppress SonarQube
warnings (#3060)
29db20997 is described below
commit 29db20997cfda7667c479364ae442c2591f03e68
Author: Xuetao Li <[email protected]>
AuthorDate: Wed Oct 22 15:24:57 2025 +0800
fix: add NOSONAR comment to cloc.yml to suppress SonarQube warnings (#3060)
---
.github/workflows/cloc.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/cloc.yml b/.github/workflows/cloc.yml
index b1417bb51..e8a3f1494 100644
--- a/.github/workflows/cloc.yml
+++ b/.github/workflows/cloc.yml
@@ -36,7 +36,7 @@ jobs:
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)}')")"
- name: post or update PR comment with cloc summary
- uses: peter-evans/create-or-update-comment@v3
+ uses: peter-evans/create-or-update-comment@v3 # NOSONAR
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.pull_request.number }}