You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2023/12/23 14:32:35 UTC
(commons-math) branch master updated: Fix up triggers [skip ci]
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-math.git
The following commit(s) were added to refs/heads/master by this push:
new 9fa9a9188 Fix up triggers [skip ci]
9fa9a9188 is described below
commit 9fa9a91888f678444242a31745456e122a88a340
Author: Sebb <se...@apache.org>
AuthorDate: Sat Dec 23 14:32:29 2023 +0000
Fix up triggers [skip ci]
---
.github/workflows/coverage.yml | 13 ++++++++++++-
.github/workflows/maven.yml | 13 ++++++++++++-
2 files changed, 24 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index 7c7005912..d1892882b 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -15,7 +15,18 @@
name: Coverage
-on: [push, pull_request]
+on:
+ # allow direct trigger
+ workflow_dispatch:
+ # Don't trigger if other workfiles change
+ push:
+ paths-ignore:
+ - '**/workflows/*.yml'
+ - '!**/workflows/coverage.yml'
+ pull_request:
+ paths-ignore:
+ - '**/workflows/*.yml'
+ - '!**/workflows/coverage.yml'
permissions:
contents: read
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 9e6879d23..d24aaf24f 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -15,7 +15,18 @@
name: Java CI
-on: [push, pull_request]
+on:
+ # allow direct trigger
+ workflow_dispatch:
+ # Don't trigger if other workfiles change
+ push:
+ paths-ignore:
+ - '**/workflows/*.yml'
+ - '!**/workflows/maven.yml'
+ pull_request:
+ paths-ignore:
+ - '**/workflows/*.yml'
+ - '!**/workflows/maven.yml'
permissions:
contents: read