Skip to content

Enhance CI Pipeline with Sensitive File Checks Β #311

@shivasankaran18

Description

@shivasankaran18

Feature Request πŸ›οΈ

Use Case

We need to improve our CI pipeline by:

  • Detecting unauthorized changes to sensitive files during pull requests.

Possible Solution

Implement a CI step that:

  • Retrieves the list of changed files in a pull request.
  • Scans for modifications to sensitive files
  • Fails the PR check if unauthorized changes are detected.

Integrate checks into the CI/CD pipeline to run automatically on every PR and deployment.

Context

This enhancement improves:

  • Prevents unauthorized modifications to sensitive files.
  • Reduces manual verification efforts by enforcing checks in CI.

Detailed Description

  • The file integrity check should scan PR changes and block unauthorized modifications.
  • CI should automatically run these checks and prevent PRs or deployments from proceeding if issues are found.

🚧 Breaking Changes

Yes – PRs modifying sensitive files without authorization will be blocked.

πŸ‘€ Have you checked for similar open issues?

I checked and didn't find a similar issue.

🏒 Have you read the Contributing Guidelines?

I have read the Contributing Guidelines.

πŸš€ Are you willing to work on this issue?

Yes, I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions