-
Notifications
You must be signed in to change notification settings - Fork 21
SOSC - Update latest coding convention submodule and some documents #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Hi reviewers As, SiliconLabsSoftware/devs-coding-convention-tool has changed new version. So I update submodule for this repo. Please help me to review it. |
2dd739d to
78afc00
Compare
|
Hey @silabs-CongD |
AndrasZiegler
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix code convention tool findings.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request updates several GitHub Actions workflows to align with the latest coding conventions and documentation standards.
- Updated the security scan workflow to trigger on pull_request events with a runner change.
- Revised the CLA Assistant workflow to use a new GitHub App token and updated document links.
- Modified the code convention check workflow by adjusting branch inputs, updating file paths, and adding a patch upload step.
Reviewed Changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| .github/workflows/04-TruffleHog-Security-Scan.yml | Changed event triggers and updated the runner version. |
| .github/workflows/01-CLA-Assistant.yml | Updated issue comment triggers, token usage, and document link. |
| .github/workflows/00-Check-Code-Convention.yml | Modified branch input, file paths, installation commands, and added patch upload. |
| .github/coding-convention-tool | Updated submodule commit reference. |
Comments suppressed due to low confidence (1)
.github/workflows/00-Check-Code-Convention.yml:58
- The removal of cppcheck installation might reduce static analysis coverage; please verify that cppcheck is no longer required for your code convention validation.
sudo apt-get install clang-tidy
| jobs: | ||
| trufflehog_scan: | ||
| runs-on: ubuntu-24.04 | ||
| runs-on: ubuntu-latest |
Copilot
AI
Jun 5, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Switching from a fixed runner version to 'ubuntu-latest' may introduce unexpected environment changes; consider pinning to a specific version if consistent behavior is required.
| runs-on: ubuntu-latest | |
| runs-on: ubuntu-22.04 |
| sudo make install | ||
| echo "Uncrustify has been installed successfully!" | ||
| cd ../../ | ||
| sudo cp ./.github/coding-convention-tool/tools/uncrustify/uncrustify.cfg ./uncrustify/uncrustify.cfg |
Copilot
AI
Jun 5, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ensure that the new file path for uncrustify.cfg reflects the updated submodule structure; an incorrect path may result in file not found errors during execution.
| sudo cp ./.github/coding-convention-tool/tools/uncrustify/uncrustify.cfg ./uncrustify/uncrustify.cfg | |
| sudo cp ./.github/coding-convention-tool/submodules/uncrustify/uncrustify.cfg ./uncrustify/uncrustify.cfg |
This comment was marked as off-topic.
This comment was marked as off-topic.
c04be88 to
964c047
Compare
|
Hi @AndrasZiegler, please help me re-review this PR again. If it fine, please help me to approve it. PR need 1 approved by reviewer with write access to allow merged. Thanks. |
silabs-ThanhNgo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Cong,
Please check my comments and update if necessary
Thanks
| name: 02-Build-Firmware | ||
| ## By default this workflow runs on Github hosted runners. This is not free for internal and private repositories | ||
| ## It is recommended to run this job on a self-hosted runner for non public repository | ||
| ## Uncomment the needed runs-on command. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you check if this workflow works?
| @@ -1,69 +0,0 @@ | |||
| <table border="0"> | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you delete the Readme files?
Same for the other Readme files
Description
Related Issue
Closes #<issue_number>
Changes Made
Checklist
Screenshots (if applicable)
Additional Notes