From 09c413733bf0cc0dd0e453177302ca63e32bc997 Mon Sep 17 00:00:00 2001 From: rgdevment Date: Wed, 14 Oct 2026 11:50:25 -0300 Subject: [PATCH] chore: a push only checks the commits no remote has yet, and deny.toml drops exceptions nothing needs --- deny.toml | 7 ------- hooks/pre-push | 8 ++------ 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/deny.toml b/deny.toml index 6e4d816f..a9e82f77 100644 --- a/deny.toml +++ b/deny.toml @@ -7,13 +7,6 @@ targets = [ [advisories] yanked = "deny" -ignore = [ - { id = "RUSTSEC-2025-0075", reason = "unic-char-range: unmaintained, not vulnerable; it arrives through urlpattern in tauri-utils and is not ours to replace" }, - { id = "RUSTSEC-2025-0080", reason = "unic-common: as above, through the same Tauri chain" }, - { id = "RUSTSEC-2025-0081", reason = "unic-char-property: as above, through the same Tauri chain" }, - { id = "RUSTSEC-2025-0098", reason = "unic-ucd-version: as above, through the same Tauri chain" }, - { id = "RUSTSEC-2025-0100", reason = "unic-ucd-ident: as above, through the same Tauri chain" }, -] [licenses] allow = [ diff --git a/hooks/pre-push b/hooks/pre-push index 10a7d80e..503c98d3 100755 --- a/hooks/pre-push +++ b/hooks/pre-push @@ -7,7 +7,7 @@ bash scripts/rules.sh || exit 1 nothing=0000000000000000000000000000000000000000 status=0 -while read -r ref mine _ theirs; do +while read -r ref mine _ _; do [ -n "${mine:-}" ] || continue [ "$mine" != "$nothing" ] || continue @@ -20,11 +20,7 @@ while read -r ref mine _ theirs; do ;; esac - if [ "${theirs:-$nothing}" != "$nothing" ]; then - bash scripts/commits.sh "$theirs..$mine" || status=1 - else - bash scripts/commits.sh "$mine" --not --remotes || status=1 - fi + bash scripts/commits.sh "$mine" --not --remotes || status=1 done exit $status