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 2023/01/09 08:25:01 UTC

[logging-log4j-tools] branch master updated: Avoid workflow run for merged `dependabot` PRs

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

vy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j-tools.git


The following commit(s) were added to refs/heads/master by this push:
     new 5f5b38d  Avoid workflow run for merged `dependabot` PRs
5f5b38d is described below

commit 5f5b38d82dd1829d0e10088c0cd9886d3afab94a
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Mon Jan 9 09:25:59 2023 +0100

    Avoid workflow run for merged `dependabot` PRs
---
 .github/workflows/build.yml | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 556392a..64c7621 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -15,7 +15,16 @@
 
 name: build
 
-on: [ push, pull_request ]
+on:
+  push:
+    # Avoid workflow run for _merged_ `dependabot` PRs.
+    # They were (hopefully!) already tested in PR-triggered workflow.
+    branches-ignore: "dependabot/**"
+  pull_request:
+    paths-ignore:
+      - "**.adoc"
+      - "**.md"
+      - "**.txt"
 
 permissions:
   contents: write