Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
name: Java CI

on:
# Build only the production branches on push, so internal feature branches do not trigger a build twice (once on push, once on the pull request).
workflow_dispatch:
push:
branches:
# Restricts push builds to these branches, even if the workflow is copied to another branch.
- master
- 2.3.x
pull_request:
types: [reopened, opened, synchronize]

# Check all pushes to production branches, but interrupt a PR job if a new commit is pushed.
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
test:
runs-on: ${{ matrix.os }}
Expand Down
Loading