Skip to content

Conversation

@galt-tr
Copy link
Contributor

@galt-tr galt-tr commented Aug 1, 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-08-01 12:15:00 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: schedule
  • Branch: chore/update-pre-commit-hooks-20250801-1214 (timestamped for uniqueness)
  • Run ID: 16674770568

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-20250801-1214 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-08-01 12:14:21 UTC
- Workflow: Update Pre-commit Hooks
- Run ID: 16674770568

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

galt-tr commented Aug 1, 2025

📊 Configuration Changes

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index fe111cd..799b4c9 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -26,7 +26,7 @@ repos:
 
   # ------------------------- Go toolchain -----------------------------
   - repo: https://github.com/TekWizely/pre-commit-golang
-    rev: 302c7fd28cdbb62d5fd1e3965fe36e33a5f77803 # frozen: v1.0.0-rc.1
+    rev: bf2137dcd61fa219107613e4a4103cf24540cd93 # frozen: v1.0.0-rc.2
     hooks:
       - id: go-fmt
       - id: go-vet

💡 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

@sonarqubecloud
Copy link

sonarqubecloud bot commented Aug 1, 2025

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

codecov bot commented Aug 1, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@mrz1836 mrz1836 merged commit 29a2daa into master Aug 2, 2025
29 checks passed
@github-actions github-actions bot deleted the chore/update-pre-commit-hooks-20250801-1214 branch August 2, 2025 12:25
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