Skip to content

ci: add secret detection - #10

Merged
Omkar-git-hub merged 2 commits into
mainfrom
feature/security-ci-cd
Sep 21, 2026
Merged

Omkar-git-hub merged 2 commits into
mainfrom
feature/security-ci-cd

Conversation

@Omkar-git-hub

Copy link
Copy Markdown
Owner

Summary

Add Gitleaks secret detection to the Offlink GitHub Actions CI workflow.

What Changed

  • Added Gitleaks secret detection to the existing CI workflow.
  • Secret scanning runs after repository checkout.
  • Existing Flutter CI checks remain unchanged:
    • Dart formatting
    • Flutter analyze
    • Flutter tests
    • Android debug build

Why

Introduce a lightweight AppSec security gate into the Offlink learning project.

The goal is to automatically detect accidentally committed secrets such as:

  • API keys
  • Tokens
  • Passwords
  • Private keys
  • Other credential-like values

CI Flow

Checkout
→ Gitleaks Secret Detection
→ Flutter Setup
→ Dependencies
→ Format
→ Analyze
→ Tests
→ Android Build

Testing

  • Verified existing Flutter CI configuration.
  • Gitleaks configuration added to GitHub Actions.
  • No application logic was changed.

Scope

This PR intentionally adds only secret detection.

Dependency vulnerability scanning, SAST, SBOM, DAST, and other advanced AppSec checks will be introduced separately as future learning steps.

Risk

No application runtime behavior is changed.
Only the CI pipeline is updated.

@Omkar-git-hub
Omkar-git-hub merged commit 760142c into main Sep 21, 2026
1 check passed
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