chore(deps,ci): upgrade Go 1.25.6, bump ewrap/sectools, harden gitleaks#70
Merged
chore(deps,ci): upgrade Go 1.25.6, bump ewrap/sectools, harden gitleaks#70
Conversation
- Build/Tooling: - Upgrade Go toolchain to 1.25.6 across repo (go.mod, Makefile, .project-settings.env, pre-commit unit-test hook). - Dependencies: - Bump github.com/hyp3rd/ewrap to v1.3.7 and github.com/hyp3rd/sectools to v1.1.7 (update go.sum). - CI: - Add least-privilege permissions to gitleaks workflow (contents: read). - Limit push trigger to main; update actions/checkout to v6. No runtime code changes; keeps toolchain and CI current while tightening permissions.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR attempts to upgrade the Go toolchain from 1.25.5 to 1.25.6 across all configuration files, bumps two dependencies (ewrap and sectools), and hardens the gitleaks CI workflow by adding least-privilege permissions and limiting push triggers to the main branch.
Changes:
- Updates Go version from 1.25.5 to 1.25.6 in go.mod, Makefile, .project-settings.env, and pre-commit hooks
- Bumps github.com/hyp3rd/ewrap from v1.3.5 to v1.3.7 and github.com/hyp3rd/sectools from v1.1.6 to v1.1.7
- Adds read-only permissions and main branch restriction to gitleaks workflow, updates actions/checkout to v6
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| go.mod | Updates Go version to 1.25.6 and dependency versions |
| go.sum | Updates checksums for bumped ewrap and sectools dependencies |
| Makefile | Updates GO_VERSION variable to 1.25.6 |
| .project-settings.env | Updates GO_VERSION setting to 1.25.6 |
| .pre-commit/unit-test-hook | Updates toolchain_version variable to 1.25.6 |
| .github/workflows/gitleaks.yml | Adds read permissions, limits push to main, updates checkout action to v6 |
Comments suppressed due to low confidence (1)
.github/workflows/gitleaks.yml:18
- actions/checkout@v6 may not exist yet. As of January 2025, the latest version of actions/checkout is v4. Please verify that v6 has been released and is available before using it. If v6 does not exist, revert to v4.
- uses: actions/checkout@v6
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No runtime code changes; keeps toolchain and CI current while tightening permissions.