From 4ce82fd841fb56a7f565ed972707fbb8fa161ae7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yoann=20Rodi=C3=A8re?= Date: Tue, 31 Oct 2023 09:48:34 +0100 Subject: [PATCH] Fix pattern order in GitHub Actions workflow --- .github/workflows/build.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e2626a78d79..d75a05cca13 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,26 +11,28 @@ name: Hibernate Search GitHub Actions Build on: push: branches: + # Pattern order matters: the last matching inclusion/exclusion wins + - '**' - '!3.*' - '!4.*' - '!5.*' - '!6.*' - '!dependabot/**' - - '**' tags: - '**' pull_request: types: [opened, synchronize, reopened, ready_for_review] branches: + # Pattern order matters: the last matching inclusion/exclusion wins + - '**' - '!3.*' - '!4.*' - '!5.*' - '!6.*' # Ignore dependabot PRs that are not just about build dependencies; # we'll reject such dependant PRs and send a PR ourselves. - - 'dependabot/maven/build-dependencies-**' - '!dependabot/**' - - '**' + - 'dependabot/maven/build-dependencies-**' concurrency: group: "workflow = ${{ github.workflow }}, ref = ${{ github.event.ref }}, pr = ${{ github.event.pull_request.id }}"