This is an automated email from the ASF dual-hosted git repository.
kou 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 16ad97938f GH-44404: [CI] Stop running CI "push" jobs for Dependabot
(#44405)
16ad97938f is described below
commit 16ad97938f48c9a12833f61f7553fbcf8dbaf9ca
Author: Sutou Kouhei <[email protected]>
AuthorDate: Thu Oct 17 09:07:43 2024 +0900
GH-44404: [CI] Stop running CI "push" jobs for Dependabot (#44405)
### Rationale for this change
They are redundant. We have the same jobs for "push" and "pull_request". We
don't need either of them.
### What changes are included in this PR?
Ignore `dependabot/**` branches for "push".
We need to define not only `branches:` but also `tags:`. If we don't define
`tags:`, the target workflows aren't trigger by tag push.
See also:
https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#onpushbranchestagsbranches-ignoretags-ignore
> If you define only tags/tags-ignore or only branches/branches-ignore, the
workflow won't run for events affecting the undefined Git ref. If you define
neither tags/tags-ignore or branches/branches-ignore, the workflow will run for
events affecting either branches or tags. If you define both
branches/branches-ignore and
[paths/paths-ignore](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onpushpull_requestpull_request_targetpathspaths-ignore),
th [...]
### Are these changes tested?
No. Let's try on apache/arrow main.
### Are there any user-facing changes?
No.
* GitHub Issue: #44404
Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
.github/workflows/archery.yml | 5 +++++
.github/workflows/cpp.yml | 5 +++++
.github/workflows/csharp.yml | 5 +++++
.github/workflows/dev.yml | 7 ++++++-
.github/workflows/integration.yml | 5 +++++
.github/workflows/java.yml | 5 +++++
.github/workflows/java_jni.yml | 5 +++++
.github/workflows/js.yml | 5 +++++
.github/workflows/matlab.yml | 5 +++++
.github/workflows/python.yml | 5 +++++
.github/workflows/r.yml | 5 +++++
.github/workflows/ruby.yml | 5 +++++
.github/workflows/swift.yml | 5 +++++
13 files changed, 66 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/archery.yml b/.github/workflows/archery.yml
index e448209056..eaa2249950 100644
--- a/.github/workflows/archery.yml
+++ b/.github/workflows/archery.yml
@@ -19,6 +19,11 @@ name: Archery & Crossbow
on:
push:
+ branches:
+ - '**'
+ - '!dependabot/**'
+ tags:
+ - '**'
paths:
- '.dockerignore'
- '.github/workflows/archery.yml'
diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml
index b3ee95bc32..634448d0c8 100644
--- a/.github/workflows/cpp.yml
+++ b/.github/workflows/cpp.yml
@@ -19,6 +19,11 @@ name: C++
on:
push:
+ branches:
+ - '**'
+ - '!dependabot/**'
+ tags:
+ - '**'
paths:
- '.dockerignore'
- '.github/workflows/cpp.yml'
diff --git a/.github/workflows/csharp.yml b/.github/workflows/csharp.yml
index a0f7b08765..a608888c7e 100644
--- a/.github/workflows/csharp.yml
+++ b/.github/workflows/csharp.yml
@@ -19,6 +19,11 @@ name: C#
on:
push:
+ branches:
+ - '**'
+ - '!dependabot/**'
+ tags:
+ - '**'
paths:
- '.github/workflows/csharp.yml'
- 'ci/scripts/csharp_*'
diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml
index d2436fe3c4..a6d403af74 100644
--- a/.github/workflows/dev.yml
+++ b/.github/workflows/dev.yml
@@ -18,8 +18,13 @@
name: Dev
on:
- # always trigger
+ # always trigger except Dependabot "push"
push:
+ branches:
+ - '**'
+ - '!dependabot/**'
+ tags:
+ - '**'
pull_request:
concurrency:
diff --git a/.github/workflows/integration.yml
b/.github/workflows/integration.yml
index af9a98ed43..763394dacd 100644
--- a/.github/workflows/integration.yml
+++ b/.github/workflows/integration.yml
@@ -19,6 +19,11 @@ name: Integration
on:
push:
+ branches:
+ - '**'
+ - '!dependabot/**'
+ tags:
+ - '**'
paths:
- '.dockerignore'
- '.github/workflows/integration.yml'
diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml
index 5766c63bf5..a27b3ef285 100644
--- a/.github/workflows/java.yml
+++ b/.github/workflows/java.yml
@@ -19,6 +19,11 @@ name: Java
on:
push:
+ branches:
+ - '**'
+ - '!dependabot/**'
+ tags:
+ - '**'
paths:
- '.dockerignore'
- '.github/workflows/java.yml'
diff --git a/.github/workflows/java_jni.yml b/.github/workflows/java_jni.yml
index 56aa1d0992..59936e1cd9 100644
--- a/.github/workflows/java_jni.yml
+++ b/.github/workflows/java_jni.yml
@@ -19,6 +19,11 @@ name: Java JNI
on:
push:
+ branches:
+ - '**'
+ - '!dependabot/**'
+ tags:
+ - '**'
paths:
- '.dockerignore'
- '.github/workflows/java_jni.yml'
diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml
index 031310fd40..dfad7de0b6 100644
--- a/.github/workflows/js.yml
+++ b/.github/workflows/js.yml
@@ -19,6 +19,11 @@ name: NodeJS
on:
push:
+ branches:
+ - '**'
+ - '!dependabot/**'
+ tags:
+ - '**'
paths:
- '.dockerignore'
- '.github/workflows/js.yml'
diff --git a/.github/workflows/matlab.yml b/.github/workflows/matlab.yml
index 7d217b07ad..17362206a8 100644
--- a/.github/workflows/matlab.yml
+++ b/.github/workflows/matlab.yml
@@ -19,6 +19,11 @@ name: MATLAB
on:
push:
+ branches:
+ - '**'
+ - '!dependabot/**'
+ tags:
+ - '**'
paths:
- '.github/workflows/matlab.yml'
- 'ci/scripts/matlab*.sh'
diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml
index 84c8a6553b..91f09f6c66 100644
--- a/.github/workflows/python.yml
+++ b/.github/workflows/python.yml
@@ -19,6 +19,11 @@ name: Python
on:
push:
+ branches:
+ - '**'
+ - '!dependabot/**'
+ tags:
+ - '**'
paths:
- '.dockerignore'
- '.github/workflows/python.yml'
diff --git a/.github/workflows/r.yml b/.github/workflows/r.yml
index c8077521bd..3913ab8f02 100644
--- a/.github/workflows/r.yml
+++ b/.github/workflows/r.yml
@@ -19,6 +19,11 @@ name: R
on:
push:
+ branches:
+ - '**'
+ - '!dependabot/**'
+ tags:
+ - '**'
paths:
- '.dockerignore'
- ".github/workflows/r.yml"
diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml
index 13da7e62ee..d6cc5c9b97 100644
--- a/.github/workflows/ruby.yml
+++ b/.github/workflows/ruby.yml
@@ -19,6 +19,11 @@ name: C GLib & Ruby
on:
push:
+ branches:
+ - '**'
+ - '!dependabot/**'
+ tags:
+ - '**'
paths:
- '.dockerignore'
- '.github/workflows/ruby.yml'
diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml
index f208fcbc39..e241713cf7 100644
--- a/.github/workflows/swift.yml
+++ b/.github/workflows/swift.yml
@@ -19,6 +19,11 @@ name: Swift
on:
push:
+ branches:
+ - '**'
+ - '!dependabot/**'
+ tags:
+ - '**'
paths:
- '.dockerignore'
- '.github/workflows/swift.yml'