You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2022/01/21 15:34:22 UTC
[logging-log4j2] branch release-2.x updated: Avoid running both push + pull_request CI jobs when PRs are updated.
This is an automated email from the ASF dual-hosted git repository.
vy pushed a commit to branch release-2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/release-2.x by this push:
new 9a5a24a Avoid running both push + pull_request CI jobs when PRs are updated.
9a5a24a is described below
commit 9a5a24aa664fdf2236c8add44dacecf2d52a5452
Author: Volkan Yazici <vo...@yazi.ci>
AuthorDate: Fri Jan 21 16:33:42 2022 +0100
Avoid running both push + pull_request CI jobs when PRs are updated.
---
.github/workflows/build.yml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 08a2da0..afdef3e 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -15,7 +15,12 @@
name: build
-on: [ push, pull_request ]
+on:
+ push:
+ branches:
+ - master
+ - release-2.x
+ pull_request:
jobs:
build: