Skip to content

CI/CD: added securiy scanning, and code quality checks#1

Closed
RovxBot wants to merge 10 commits into
masterfrom
chore/security-hardening
Closed

CI/CD: added securiy scanning, and code quality checks#1
RovxBot wants to merge 10 commits into
masterfrom
chore/security-hardening

Conversation

@RovxBot

@RovxBot RovxBot commented Mar 2, 2026

Copy link
Copy Markdown
Owner

This pull request adds important security and maintenance automation to the repository by introducing new GitHub workflows and configuration files. The changes help ensure regular dependency updates and automated scanning for code vulnerabilities and secrets.

Security automation:

  • Added .github/workflows/security-codeql.yml to run CodeQL analysis on pushes, pull requests, and a weekly schedule, improving detection of code vulnerabilities in C++ code.
  • Added .github/workflows/security-secrets.yml to run Gitleaks on pushes and pull requests for secret scanning, helping prevent accidental exposure of sensitive information.

Dependency management:

  • Added .github/dependabot.yml to enable weekly automated dependency updates for GitHub Actions, with a limit of five open pull requests at a time.

@github-advanced-security

Copy link
Copy Markdown

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR introduces repository automation for security scanning and dependency maintenance via GitHub Actions workflows and Dependabot configuration.

Changes:

  • Added a GitHub Actions workflow to run Gitleaks on pushes/PRs for secret scanning.
  • Added a GitHub Actions workflow to run CodeQL analysis on pushes/PRs and on a weekly schedule.
  • Added Dependabot configuration for weekly GitHub Actions dependency updates.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.

File Description
.github/workflows/security-secrets.yml Adds a Gitleaks-based secret scanning workflow for push and PR events.
.github/workflows/security-codeql.yml Adds a CodeQL workflow for C++ code scanning on push/PR and a weekly cron schedule.
.github/dependabot.yml Configures weekly Dependabot updates for GitHub Actions dependencies.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/security-codeql.yml Outdated
Comment thread .github/workflows/security-codeql.yml
Comment thread .github/workflows/security-secrets.yml Outdated
Comment thread .github/workflows/security-secrets.yml Outdated
Comment thread .github/workflows/security-codeql.yml Outdated

Copilot AI commented Mar 2, 2026

Copy link
Copy Markdown

@RovxBot I've opened a new pull request, #2, to work on those changes. Once the pull request is ready, I'll request review from you.

RovxBot and others added 4 commits March 2, 2026 14:39
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: RovxBot <107164880+RovxBot@users.noreply.github.com>
[WIP] Update CI/CD security scanning and code quality checks

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 10 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/code-quality.yml Outdated
Comment thread .github/workflows/code-quality.yml Outdated
Comment thread .github/workflows/code-quality.yml Outdated
Comment thread .github/workflows/code-quality.yml Outdated
Comment thread .github/workflows/code-quality.yml Outdated
Comment thread .github/workflows/code-quality.yml
Comment thread .github/workflows/code-quality.yml
Comment thread .github/workflows/code-quality.yml Outdated
Comment thread .github/workflows/security-codeql.yml Outdated
Comment thread .github/workflows/code-quality.yml
@RovxBot

RovxBot commented Mar 2, 2026

Copy link
Copy Markdown
Owner Author

@copilot open a new pull request to apply changes based on the comments in this thread

Copilot AI commented Mar 2, 2026

Copy link
Copy Markdown

@RovxBot I've opened a new pull request, #3, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 2 commits March 2, 2026 23:42
Co-authored-by: RovxBot <107164880+RovxBot@users.noreply.github.com>
Harden CI workflows: pin actions to commit SHAs and fix configurations
@RovxBot RovxBot closed this Mar 3, 2026
@RovxBot
RovxBot deleted the chore/security-hardening branch March 3, 2026 23:13
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.

4 participants