Skip to content

Commit

Permalink
Fix pattern order in GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yrodiere committed Oct 31, 2023
1 parent 5b2e43e commit 4ce82fd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down

0 comments on commit 4ce82fd

Please sign in to comment.