-
Notifications
You must be signed in to change notification settings - Fork 51
feat(dev) TRCLI-185 Enhanced Development Workflow #365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
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. |
🔒 Security Scan Results📦 Dependency Vulnerabilities (pip-audit)🛡️ Safety Check ResultsSecurity scan completed. Full reports available in workflow artifacts. |
There was a problem hiding this 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 implements an enhanced development workflow for TRCLI, introducing automated quality checks, pre-commit hooks, and development guidelines to improve code quality and consistency.
Key Changes:
- Added pre-commit hooks for code formatting (Black) and linting (flake8) with commit message validation
- Implemented GitHub Actions workflows for security scanning, PR validation, and checklist enforcement
- Created comprehensive development workflow documentation with setup instructions and best practices
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| setup-dev-tools.sh | Bash script to automate installation of pre-commit hooks and development tools |
| DEVELOPMENT_WORKFLOW.md | Comprehensive guide covering pre-commit setup, commit formats, PR process, and troubleshooting |
| .pre-commit-hooks/commit-msg.py | Python script to validate commit messages contain issue references (JIRA or GitHub) |
| .pre-commit-config.yaml | Pre-commit configuration with Black formatter and flake8 linter setup |
| .github/workflows/security-scan.yml | GitHub Actions workflow for dependency scanning and CodeQL analysis |
| .github/workflows/pr-validation.yml | Workflow to validate PR issue references and auto-label based on type |
| .github/workflows/pr-checklist.yml | Workflow to enforce PR checklist completion and required sections |
| .github/PULL_REQUEST_TEMPLATE.md | Fixed grammatical error in PR template |
| .bandit | Configuration file for Bandit security scanner |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.