Skip to content

Conversation

@galt-tr
Copy link
Contributor

@galt-tr galt-tr commented Jul 21, 2025

🤖 Automated Pre-commit Hooks Update

This PR updates all pre-commit hooks to their latest versions.

📋 Changes Made

  • Updated hooks using pre-commit autoupdate --freeze for reproducible builds
  • Migrated configuration if needed
  • Number of hooks updated: 2
  • Automated update run on 2025-07-21 15:53:14 UTC

🔍 What's Updated

All hooks in .pre-commit-config.yaml have been updated to their latest compatible versions.

✅ Benefits

  • 🔧 Latest code quality tools and fixes
  • 🔒 Security improvements from updated dependencies
  • 🐛 Bug fixes in linting and formatting tools
  • 📦 Better compatibility with current codebase
  • 🚀 Performance improvements in linters

🧪 Testing Status

Pre-commit hooks were tested after update - check workflow logs for results.

📝 Next Steps

  1. Review the changes in the Files tab
  2. Check CI status - automated tests will verify compatibility
  3. Test locally with pre-commit run --all-files if desired
  4. Merge when ready - no manual action needed unless issues arise
  5. Close older pre-commit PRs if this update supersedes them

🔐 Security Notes

  • All Python packages installed use hash verification (--require-hashes)
  • Hook versions are frozen for reproducible builds
  • Configuration follows security best practices

🤖 Automation Details

  • Workflow: Update Pre-commit Hooks
  • Trigger: workflow_dispatch
  • Branch: chore/update-pre-commit-hooks-20250721-1552 (timestamped for uniqueness)
  • Run ID: 16421774127

Note: This PR was created automatically. To customize updates:

  1. Modify .pre-commit-config.yaml manually
  2. Push changes to the chore/update-pre-commit-hooks-20250721-1552 branch
  3. Or close this PR and disable the scheduled workflow if updates are not desired

Automated pre-commit hook update:
- Updated hooks to latest versions using 'pre-commit autoupdate --freeze'
- Migrated configuration if needed
- Number of hooks updated: 2
- Generated on 2025-07-21 15:52:31 UTC
- Workflow: Update Pre-commit Hooks
- Run ID: 16421774127

🤖 Generated by GitHub Actions
@galt-tr galt-tr requested a review from icellan as a code owner July 21, 2025 15:53
@galt-tr galt-tr added chore Simple dependency updates or version bumps dependencies Dependency updates, version bumps, etc. labels Jul 21, 2025
@galt-tr
Copy link
Contributor Author

galt-tr commented Jul 21, 2025

📊 Configuration Changes

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index a81afde..69955c8 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -37,7 +37,7 @@ repos:
 
   # ------------------------ Security scans ---------------------------
   - repo: https://github.com/zricethezav/gitleaks
-    rev: 47218a628da59ef6b24197d15f4b0248ca87f4f0 # frozen: v8.27.2
+    rev: 39fdb480a06768cc41a84ef86959c07ff33091c4  # frozen: v8.28.0
     hooks:
       - id: gitleaks
         stages: [pre-commit, pre-push]

💡 Tips for Testing

Quick test (recommended):

pre-commit run --all-files

Test specific hooks:

pre-commit run <hook-id> --all-files

Update hooks manually:

pre-commit autoupdate

@github-actions github-actions bot added update General updates size/XS Very small change (≤10 lines) labels Jul 21, 2025
@codecov
Copy link

codecov bot commented Jul 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@sonarqubecloud
Copy link

@mrz1836 mrz1836 merged commit 99ac31e into master Jul 21, 2025
19 of 21 checks passed
@github-actions github-actions bot deleted the chore/update-pre-commit-hooks-20250721-1552 branch July 21, 2025 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Simple dependency updates or version bumps dependencies Dependency updates, version bumps, etc. size/XS Very small change (≤10 lines) update General updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants