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-ognl.git
The following commit(s) were added to refs/heads/master by this push:
new 58d441b Run builds only on push to master and pull requests
58d441b is described below
commit 58d441bab5492af2ddd483553a210fe74db2b711
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Apr 3 06:53:15 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 12b7980..cdccaea 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: {}
on:
workflow_dispatch:
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index e4ad3f7..fe3113b 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: {}
on:
workflow_dispatch: