-
Notifications
You must be signed in to change notification settings - Fork 140
ci: adding more precommit hooks #4345
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
base: main
Are you sure you want to change the base?
Conversation
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 updates the pre-commit configuration to use commit SHA references instead of version tags for better reproducibility and adds two new security-focused hooks: zizmor for GitHub workflow security analysis and bandit for Python security checks.
- Replaced version tags with commit SHAs for all existing hooks
- Added zizmor hook for GitHub workflow security scanning
- Added bandit hook for Python code security analysis
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
||
| - repo: https://github.com/ansys/pre-commit-hooks | ||
| rev: v0.5.2 | ||
| rev: fd1d6b0b4baeb08e32d4de0909999576695c0433 #v0.5.2 |
Copilot
AI
Dec 12, 2025
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.
Missing space after '#' in inline comment. For consistency with other lines (e.g., line 16, 22, 36), add a space between '#' and the version number.
| rev: fd1d6b0b4baeb08e32d4de0909999576695c0433 #v0.5.2 | |
| rev: fd1d6b0b4baeb08e32d4de0909999576695c0433 # v0.5.2 |
|
@pyansys-ci-bot LGTM. |
pyansys-ci-bot
left a comment
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.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4345 +/- ##
==========================================
+ Coverage 91.27% 91.30% +0.03%
==========================================
Files 195 195
Lines 15969 15969
==========================================
+ Hits 14576 14581 +5
+ Misses 1393 1388 -5 🚀 New features to boost your workflow:
|

Description
As the title.