Skip to content

ci: Add clang-tidy comments for PR's#359

Closed
uristdwarf wants to merge 2 commits intodevfrom
github-action-clang-tidy
Closed

ci: Add clang-tidy comments for PR's#359
uristdwarf wants to merge 2 commits intodevfrom
github-action-clang-tidy

Conversation

@uristdwarf
Copy link
Copy Markdown
Contributor

There are two seperate actions: One for running clang-tidy with no secrets, and another with secrets. This ensures that if the former is compromised, the latter secrets should be safe.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Warning

Gemini encountered an error creating the summary. You can try again by commenting /gemini summary.

@uristdwarf uristdwarf force-pushed the github-action-clang-tidy branch from e3924b6 to f6936af Compare April 21, 2025 08:03
@leil-io leil-io deleted a comment from gemini-code-assist bot Apr 21, 2025
@uristdwarf uristdwarf force-pushed the github-action-clang-tidy branch 6 times, most recently from 79aa0bc to 5108c4b Compare April 21, 2025 13:14
@leil-io leil-io deleted a comment from gemini-code-assist bot Apr 22, 2025
@uristdwarf uristdwarf force-pushed the github-action-clang-tidy branch from 5108c4b to a5e3861 Compare April 23, 2025 08:01
@uristdwarf uristdwarf force-pushed the github-action-clang-tidy branch from a5e3861 to 2dcf6e8 Compare May 1, 2025 09:32
@uristdwarf uristdwarf force-pushed the github-action-clang-tidy branch from 2dcf6e8 to 3a015bf Compare May 20, 2025 09:21
Copy link
Copy Markdown
Contributor

@ralcolea ralcolea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I shared some comments, despite this PR is outdated.
Please, rebase this branch on top of dev and give some feedback about its current status :)

});
const fs = require("fs");
fs.writeFileSync("${{ github.workspace }}/clang-tidy-result.zip", Buffer.from(download.data));
- name: Extract analysis results
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider separating different steps with a blank line to improve readability.

jobs:
clang-tidy-results:
# Trigger the job only if the previous (insecure) workflow completed successfully
if: ${{ github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success' }}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This workflow did not run as part of this PR. I was checking with some LLMs and it says that post-static-analysis workflow should be merged first to the default branch.

Can you confirm whether this is needed or the cause(s) preventing this workflow to run as part of this PR?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe that's the case, yes.

@uristdwarf uristdwarf force-pushed the github-action-clang-tidy branch 4 times, most recently from 37dd0f5 to 7e0e432 Compare July 22, 2025 09:52
Copy link
Copy Markdown
Contributor

@ralcolea ralcolea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job @uristdwarf 👍
Please, remember to remove the test commit before merging :)

@uristdwarf uristdwarf force-pushed the github-action-clang-tidy branch from 7e0e432 to 18512e7 Compare July 22, 2025 10:18
There are two seperate actions: One for running clang-tidy with no
secrets, and another with secrets. This ensures that if the former is
compromised, the latter secrets should be safe.

Signed-off-by: Urmas Rist <urmas@leil.io>
@uristdwarf uristdwarf force-pushed the github-action-clang-tidy branch 6 times, most recently from 41aaf13 to 1f6fa61 Compare July 22, 2025 11:53
@uristdwarf uristdwarf force-pushed the github-action-clang-tidy branch 3 times, most recently from ffa1edb to 72167a8 Compare July 22, 2025 15:15
@uristdwarf uristdwarf force-pushed the github-action-clang-tidy branch from 72167a8 to 2e938d1 Compare July 22, 2025 15:30
@uristdwarf uristdwarf closed this Jul 22, 2025
@uristdwarf uristdwarf deleted the github-action-clang-tidy branch July 22, 2025 15:47
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.

3 participants