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

raulcd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new 5ba5c3ca1a GH-49671: [CI][Docs] Don't run jobs for push by Dependabot 
(#49672)
5ba5c3ca1a is described below

commit 5ba5c3ca1af2d540f17bd1db91c103d40abefd1b
Author: Sutou Kouhei <[email protected]>
AuthorDate: Tue Apr 7 16:52:12 2026 +0900

    GH-49671: [CI][Docs] Don't run jobs for push by Dependabot (#49672)
    
    ### Rationale for this change
    
    We don't need to run the docs jobs for push by Dependabot because we can 
run them for PR by Dependabot.
    
    ### What changes are included in this PR?
    
    Add `on.push.branches` and `on.push.tags` to disable jobs for push by 
Dependabot.
    
    ### Are these changes tested?
    
    No. But this will work because other workflows use this.
    
    ### Are there any user-facing changes?
    
    No.
    * GitHub Issue: #49671
    
    Authored-by: Sutou Kouhei <[email protected]>
    Signed-off-by: Raúl Cumplido <[email protected]>
---
 .github/workflows/docs.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 8e17699462..0b5f1e546e 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -18,12 +18,17 @@
 name: Docs
 
 on:
+  push:
+    branches:
+      - '**'
+      - '!dependabot/**'
+    tags:
+      - '**'
   pull_request:
     paths:
       - '.github/workflows/docs.yml'
       - 'cpp/apidoc/**'
       - 'docs/**'
-  push:
 
 permissions:
   contents: read

Reply via email to