Skip to content

chore(ci): bump actions/checkout from 4 to 6#1

Closed
dependabot[bot] wants to merge 21 commits intomainfrom
dependabot/github_actions/actions/checkout-6
Closed

chore(ci): bump actions/checkout from 4 to 6#1
dependabot[bot] wants to merge 21 commits intomainfrom
dependabot/github_actions/actions/checkout-6

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 27, 2026

Bumps actions/checkout from 4 to 6.

Release notes

Sourced from actions/checkout's releases.

v6.0.0

What's Changed

Full Changelog: actions/checkout@v5.0.0...v6.0.0

v6-beta

What's Changed

Updated persist-credentials to store the credentials under $RUNNER_TEMP instead of directly in the local git config.

This requires a minimum Actions Runner version of v2.329.0 to access the persisted credentials for Docker container action scenarios.

v5.0.1

What's Changed

Full Changelog: actions/checkout@v5...v5.0.1

v5.0.0

What's Changed

⚠️ Minimum Compatible Runner Version

v2.327.1
Release Notes

Make sure your runner is updated to this version or newer to use this release.

Full Changelog: actions/checkout@v4...v5.0.0

v4.3.1

What's Changed

Full Changelog: actions/checkout@v4...v4.3.1

v4.3.0

What's Changed

... (truncated)

Changelog

Sourced from actions/checkout's changelog.

Changelog

v6.0.2

v6.0.1

v6.0.0

v5.0.1

v5.0.0

v4.3.1

v4.3.0

v4.2.2

v4.2.1

v4.2.0

v4.1.7

v4.1.6

... (truncated)

Commits

Single-file bash tool that evaluates SSH commands via LLM function
calling before execution. Three policy modes (readonly, paranoid, safe),
output redaction, risk scoring, audit logging, and .env file resolution.
pre-commit: infisical secret scanning on staged files
pre-push: commit message validation, cargo fmt/clippy/test, shellcheck
- Full Rust rewrite: clap CLI with -v/-vv/-vvv/-vvvv verbosity,
  --mode flag, --dry-run, tracing-based logging
- Improved output redaction: catches high-entropy hex/base64 values
  in arbitrary env vars (e.g. X_CT0=9c52ab...), standalone base64
  blobs, plus all previous patterns
- CI: GitHub Actions for test/lint (fmt, clippy, test) and
  multi-arch release builds (linux x86_64/arm64, macOS x86_64/arm64)
- Release pipeline: tag-triggered builds with stripped binaries,
  version-locked install.sh in release assets
- install.sh: curl-pipe installer with platform detection
- INSTALL.md: detailed installation and provider setup guide
- Updated README to reference INSTALL.md for detailed instructions
- Add curl/wget/fetch/httpie to approved commands in readonly and safe
  policy prompts. The LLM evaluates intent rather than blanket-blocking
  HTTP tools.
- Refine pipe evaluation: pipes are assessed as a full pipeline (data
  flow) rather than each command in isolation, preventing false denials
  like "curl ... | head".
- Tighten "remote code execution" deny rule to only match piping to
  shell interpreters (bash/sh/eval), not all curl usage.
- Switch redacted output from full buffering (.output()) to line-by-line
  streaming via BufReader, so callers see output in real time.
- README markdown table formatting fixes.
Implements ssh-guard server mode where unprivileged agents can execute
privileged SSH commands through a trusted guard daemon. The server listens
on UNIX socket and/or TCP port, validates auth tokens, enforces policy
rules, and executes commands on behalf of clients.

Key features:
- UNIX socket listener with group-based access control
- TCP socket listener for remote agent access
- Auth token validation for TCP connections
- UID allowlist for socket access control
- Policy engine with default-deny semantics
- Client config persistence in ~/.config/ssh-guard/client.yaml
- Simplified CLI: ssh-guard <host> <command>
- User inference from $USER environment variable
Previously, command output was printed to the server's stdout instead of
being captured and returned to the client through the ExecuteResponse.

Changes:
- Add stdout/stderr fields to ExecuteResult and ExecuteResponse structs
- Use tokio::process::Command::output() to capture output synchronously
- Return captured stdout/stderr in ExecuteResponse
- Client prints stdout/stderr from response before exiting
- Simplify local command execution to use output() instead of spawned tasks
- Proper redaction handling for captured output

This enables the ssh-guard client to display command output from the server.
- Fix pattern_matches to require space boundary for prefix matching:
  'git' now correctly does NOT match 'github' (different command)
  'ssh' still matches 'ssh user@host' (command with args)

- Fix group priority sorting to descending order:
  Higher priority groups are now checked first, as intended
  Restrictive groups with priority 100 now take precedence over
  permissive groups with priority 1

Note: test_glob_star_suffix has a pre-existing hang bug in the glob
matching algorithm, and test_pass_backend_integration fails due to
pass version not supporting --multifile flag.
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Mar 27, 2026

Labels

The following labels could not be found: dependencies, github-actions. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

…support

- Rewrite evaluate.rs prompts to prefer ALLOW with clear DENY cases
- Add -V short flag for version
- Fix argument parsing for ssh-guard host cmd style
- Add identity_key support in server client for per-request key selection
- Add src/lib.rs to expose modules for integration testing
- Add tests/policy_tests.rs with policy engine tests
- Add [lib] and [[bin]] sections to Cargo.toml
- Tests verify safe commands are allowed and dangerous ones denied
- Allow sudo for safe commands (sudo id, sudo systemctl status, etc.)
- Only block sudo that leads to root shell (sudo su, sudo -i, sudo -s)
- Block sudo -u root <cmd> but not sudo <safe-cmd>
- Add examples showing sudo systemctl restart is OK
- Fix message about privilege escalation being about shells, not sudo itself
Replace prescriptive allow/deny lists with general evaluation framework:
- Focus on WHAT/WHERE/HOW/WHO analysis
- Deny only clear risks: destruction, compromise, RCE, fork bombs
- Allow routine admin: reads, monitoring, service management
- Remove specific command examples - trust the model to evaluate
Better guidance on privilege escalation:
- Get root SHELL (sudo su, sudo -i) = DENY
- Run sudo for legitimate tasks (sudo apt, sudo systemctl) = ALLOW
- Flush security controls (iptables -F) = DENY
- Flushing iptables was incorrectly allowed before
morgaesis and others added 2 commits March 30, 2026 18:02
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/github_actions/actions/checkout-6 branch from 2f5ff96 to 80f4796 Compare March 30, 2026 18:03
@morgaesis morgaesis closed this Mar 31, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Mar 31, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/github_actions/actions/checkout-6 branch March 31, 2026 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant