From b1219ba9df2236a38a39eb5d9ba29622f5b4fcf7 Mon Sep 17 00:00:00 2001 From: teor Date: Fri, 17 Nov 2023 11:37:38 +1000 Subject: [PATCH] Skip external branches in ci-unit-tests-docker.yml --- .github/workflows/ci-unit-tests-docker.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci-unit-tests-docker.yml b/.github/workflows/ci-unit-tests-docker.yml index 73834aa649f..96448d817d7 100644 --- a/.github/workflows/ci-unit-tests-docker.yml +++ b/.github/workflows/ci-unit-tests-docker.yml @@ -21,6 +21,15 @@ on: default: false pull_request: + # Skip branches from external repositories, let them pass, and then Mergify will check them + branches: + # Include all branches + - '**' + # Exclude external repositories + - '!**/**' + # But include mergify and dependabot + - 'mergify/**' + - 'dependabot/**' paths: # code and tests - '**/*.rs'