mirror of
https://github.com/apache/maven-mvnd.git
synced 2026-01-13 07:04:14 +08:00
Fix workflow
CI Actions are now triggered two times for some PRs, once due "pull request" and once due "push". Limit "push" trigger to two notable branches only.
This commit is contained in:
7
.github/workflows/early-access.yaml
vendored
7
.github/workflows/early-access.yaml
vendored
@@ -18,7 +18,12 @@
|
||||
name: Early Access
|
||||
|
||||
# trigger on push to branches and PR
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- mvnd-1.x
|
||||
pull_request:
|
||||
|
||||
env:
|
||||
JAVA_VERSION: '17'
|
||||
|
||||
Reference in New Issue
Block a user