From 0b57cd61091477a5c2e3a172aebbbead77c60fd5 Mon Sep 17 00:00:00 2001 From: blaginin Date: Wed, 29 Apr 2026 22:18:50 +0100 Subject: [PATCH] dependencies check are now required to merge ci --- .asf.yaml | 2 ++ .github/workflows/dependencies.yml | 9 ++------- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index d953f9c585ae8..47a18d13cbca0 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -58,6 +58,8 @@ github: - "Check Markdown Links" - "Validate required_status_checks in .asf.yaml" - "Spell Check with Typos" + - "Circular Dependency Check" + - "Detect Unused Dependencies" # needs to be updated as part of the release process # .asf.yaml doesn't support wildcard branch protection rules, only exact branch names # https://github.com/apache/infrastructure-asfyaml?tab=readme-ov-file#branch-protection diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml index ef175de2aa292..2f3a127ef98c4 100644 --- a/.github/workflows/dependencies.yml +++ b/.github/workflows/dependencies.yml @@ -25,13 +25,7 @@ on: push: branches-ignore: - 'gh-readonly-queue/**' - paths: - - "**/Cargo.toml" - - "**/Cargo.lock" pull_request: - paths: - - "**/Cargo.toml" - - "**/Cargo.lock" merge_group: # manual trigger # https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow @@ -42,7 +36,7 @@ permissions: jobs: depcheck: - name: circular dependency check + name: Circular Dependency Check runs-on: ubuntu-latest container: image: amd64/rust @@ -61,6 +55,7 @@ jobs: cargo run detect-unused-dependencies: + name: Detect Unused Dependencies runs-on: ubuntu-latest container: image: amd64/rust