Skip to content

Conversation

@toroviej0x0
Copy link
Contributor

This will prevent accidental commits with secrets and enforce good practices before the bad ones reach the remote code.

This will prevent accidental commits with secrets and enforce good practices before the bad ones reach the remote code.
Copy link

Copilot AI left a 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 PR introduces pre-commit hooks to enforce code quality standards and prevent accidental commits of secrets or improper code. The configuration includes various validation hooks for file formats, whitespace management, and security checks using both the standard pre-commit-hooks and gitleaks for secret detection.

  • Adds pre-commit configuration with standard hooks for file validation, merge conflict detection, and whitespace management
  • Implements branch protection to prevent direct commits to main
  • Integrates gitleaks for secret scanning

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

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