From 9fd073a67320fe21b5dfbb799435346aac9e4efb Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 11 Feb 2025 11:18:59 +0100 Subject: [PATCH 1/2] cargo-audit: update `hickory-proto` version Avoids: https://rustsec.org/advisories/RUSTSEC-2025-0006 --- git-checks/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git-checks/Cargo.toml b/git-checks/Cargo.toml index d9bda1d9..7c80d9fe 100644 --- a/git-checks/Cargo.toml +++ b/git-checks/Cargo.toml @@ -24,8 +24,8 @@ lazy_static = "^1.1" log = "~0.4.4" rayon = "^1.5" thiserror = "^1.0.2" -hickory-proto = "0.25.0-alpha.4" -hickory-resolver = { version = "0.25.0-alpha.4", default-features = false, features = ["system-config", "tokio-runtime"] } +hickory-proto = "0.25.0-alpha.5" +hickory-resolver = { version = "0.25.0-alpha.5", default-features = false, features = ["system-config", "tokio-runtime"] } ttl_cache = "~0.5" wait-timeout = "~0.2" -- GitLab From 135f58498a818bfa6780e4728da20fc387dc335a Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 11 Feb 2025 11:19:30 +0100 Subject: [PATCH 2/2] commit_subject: update docstring for `amend!` --- git-checks/src/commit_subject.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-checks/src/commit_subject.rs b/git-checks/src/commit_subject.rs index 0935cbda..3d9acd96 100644 --- a/git-checks/src/commit_subject.rs +++ b/git-checks/src/commit_subject.rs @@ -17,7 +17,7 @@ use regex::Regex; /// Patterns which are checked for: /// - overly long or short summary lines; /// - work-in-progress messages; -/// - `fixup!` and `squash!` messages; and +/// - `fixup!`, `squash!`, and `amend!` messages; and /// - custom prefixes. /// /// Commit messages which appear to have been auto generated by actions such as merging or -- GitLab