From e4ba2493b2b7efd37575f19e6b6df4ee7aa63256 Mon Sep 17 00:00:00 2001 From: Tom French <15848336+TomAFrench@users.noreply.github.com> Date: Sun, 17 Sep 2023 14:55:14 +0100 Subject: [PATCH] chore(ci): deny wildcards (#552) --- .github/workflows/deny.yml | 6 +++--- deny.toml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deny.yml b/.github/workflows/deny.yml index 8ae7d03e..1a6af18e 100644 --- a/.github/workflows/deny.yml +++ b/.github/workflows/deny.yml @@ -3,10 +3,10 @@ name: deny on: push: branches: [master] - paths: [Cargo.lock] + paths: [Cargo.lock, deny.toml] pull_request: branches: [master] - paths: [Cargo.lock] + paths: [Cargo.lock, deny.toml] merge_group: env: @@ -23,4 +23,4 @@ jobs: - uses: actions/checkout@v4 - uses: EmbarkStudios/cargo-deny-action@v1 with: - command: check all \ No newline at end of file + command: check all diff --git a/deny.toml b/deny.toml index cfd53ee1..397337c3 100644 --- a/deny.toml +++ b/deny.toml @@ -15,7 +15,7 @@ notice = "warn" # Lint level for when multiple versions of the same crate are detected multiple-versions = "warn" # Lint level for when a crate version requirement is `*` -wildcards = "allow" +wildcards = "deny" highlight = "all" # List of crates to deny deny = [ @@ -85,4 +85,4 @@ unknown-registry = "warn" # Lint level for what to happen when a crate from a git repository that is not # in the allow list is encountered unknown-git = "deny" -allow-git = [] \ No newline at end of file +allow-git = []