This is an automated email from the ASF dual-hosted git repository. rzo1 pushed a commit to branch do_not_run_twice_on_pr in repository https://gitbox.apache.org/repos/asf/opennlp.git
commit 516f27548723fd93c131d597b7f59ee990c80717 Author: Richard Zowalla <[email protected]> AuthorDate: Thu Nov 28 15:52:51 2024 +0100 Avoid running CI twice. --- .github/workflows/maven.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index c7fc132c..e568f5d6 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -15,7 +15,14 @@ name: Java CI -on: [push, pull_request] +on: + # Run CI on Pushes to "main"" or on pull requests targeting "main". + push: + branches: + - main + pull_request: + branches: + - main jobs: build:
