This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-numbers.git


The following commit(s) were added to refs/heads/master by this push:
     new 27581dfc Run builds only on push to master and pull requests
27581dfc is described below

commit 27581dfca87d6381e95f1a952cc8c056adf64ed4
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Apr 3 06:53:14 2026 -0400

    Run builds only on push to master and pull requests
---
 .github/workflows/coverage.yml | 6 +++++-
 .github/workflows/maven.yml    | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index c6523a59..23097d7d 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -15,7 +15,11 @@
 
 name: Coverage
 
-on: [push, pull_request]
+on:
+  push:
+    branches:
+      - 'master'
+  pull_request: {}
 
 permissions:
   contents: read
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index b787fb1a..2965921a 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -15,7 +15,11 @@
 
 name: Java CI
 
-on: [push, pull_request]
+on:
+  push:
+    branches:
+      - 'master'
+  pull_request: {}
 
 permissions:
   contents: read

Reply via email to