You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stormcrawler.apache.org by rz...@apache.org on 2024/12/16 10:32:42 UTC

(incubator-stormcrawler) 01/01: Save energy by avoid building multipe times

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

rzo1 pushed a commit to branch avoid-multi-building
in repository https://gitbox.apache.org/repos/asf/incubator-stormcrawler.git

commit 451fbd1ed4afddb51ba6a7c306f1af4f9b517aec
Author: Richard Zowalla <rz...@apache.org>
AuthorDate: Mon Dec 16 11:32:24 2024 +0100

    Save energy by avoid building multipe times
---
 .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 3e9e1876..a152e95c 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -15,7 +15,14 @@
 
 name: Java CI with Maven
 
-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:
   rat: