Skip to content

test: fork-PR comment recipe (do not merge) - #68

Closed
shenxianpeng wants to merge 3 commits into
masterfrom
claude/project-thread-4hzd70
Closed

shenxianpeng wants to merge 3 commits into
masterfrom
claude/project-thread-4hzd70

Conversation

@shenxianpeng

@shenxianpeng shenxianpeng commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

Temporary end-to-end test for cpp-linter/cpp-linter-action#520. The comment job stands in for the workflow_run workflow (GitHub runs that only from the default branch) and runs the same script. Close without merging after the test.

@shenxianpeng shenxianpeng self-assigned this Nov 4, 2026
@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Cpp-Linter Report ⚠️

Some files did not pass the configured checks!

clang-format (v21.1.8) reports: 1 file(s) not formatted
  • src/demo.cpp
clang-tidy (v21.1.8) reports: 5 concern(s)
  • src/demo.cpp:7:8: warning: [misc-use-internal-linkage]

    function 'dummyFunc' can be made static or moved into an anonymous namespace to enforce internal linkage

        7 | size_t dummyFunc(size_t i) { return i; }
          |        ^
          | static 
  • src/demo.cpp:7:25: warning: [readability-identifier-length]

    parameter name 'i' is too short, expected at least 3 characters

        7 | size_t dummyFunc(size_t i) { return i; }
          |                         ^
  • src/demo.cpp:11:13: warning: [readability-braces-around-statements]

    statement should be inside braces

       11 |     for (;;)
          |             ^
          |              {
       12 |         break;
          |               
  • src/demo.cpp:20:5: warning: [misc-use-internal-linkage]

    function 'thirdRun' can be made static or moved into an anonymous namespace to enforce internal linkage

       20 | int thirdRun(int x) { return x; }
          |     ^
          | static 
  • src/demo.cpp:20:18: warning: [readability-identifier-length]

    parameter name 'x' is too short, expected at least 3 characters

       20 | int thirdRun(int x) { return x; }
          |                  ^

✨ Powered by cpp-linter -- ⭐ Star • ❤️ Sponsor • 💬 Feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant