From 1ceda731e54c80f25bea48fd079c89e62e98f8ed Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Wed, 3 Sep 2025 18:54:27 -0400 Subject: [PATCH] CI: Avoid duplicate action runs on dependabot --- .codacy.yml | 8 ++++---- .github/workflows/build-test.yml | 4 +++- .github/workflows/contributor.yml | 2 ++ .github/workflows/format.yml | 2 ++ 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.codacy.yml b/.codacy.yml index 7ce1f8db5..f062ac57b 100644 --- a/.codacy.yml +++ b/.codacy.yml @@ -1,6 +1,6 @@ --- exclude_paths: - - ".github/**" - - "ci/build_verilator.sh" - - "include/vltstd/**" - - "nodist/fastcov.py" + - ".github/**" # + - "ci/build_verilator.sh" # + - "include/vltstd/**" # + - "nodist/fastcov.py" # diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 4fddcb839..59f21c1c7 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -7,6 +7,8 @@ name: build-test on: push: + branches-ignore: + - 'dependabot/**' # Avoid duplicates: only run the PR, not the push pull_request: workflow_dispatch: schedule: @@ -245,7 +247,7 @@ jobs: - test-2204-clang - lint-py - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Decide whether the needed jobs succeeded or failed diff --git a/.github/workflows/contributor.yml b/.github/workflows/contributor.yml index 9731a0c5b..cc3599695 100644 --- a/.github/workflows/contributor.yml +++ b/.github/workflows/contributor.yml @@ -5,6 +5,8 @@ name: Contributor Agreement on: push: + branches-ignore: + - 'dependabot/**' # Avoid duplicates: only run the PR, not the push pull_request: workflow_dispatch: permissions: diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 345f4c2a5..74deea963 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -5,6 +5,8 @@ name: format on: push: + branches-ignore: + - 'dependabot/**' # Avoid duplicates: only run the PR, not the push pull_request_target: workflow_dispatch: permissions: