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

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


The following commit(s) were added to refs/heads/main by this push:
     new 6af8e77  MINOR: Bump `actions/*-artifact` to v4 and enable dependabot 
(#364)
6af8e77 is described below

commit 6af8e77a7018ad073596c79392ad20ad0cba8291
Author: Jacob Wujciak-Jens <[email protected]>
AuthorDate: Fri Nov 29 00:08:03 2024 +0100

    MINOR: Bump `actions/*-artifact` to v4 and enable dependabot (#364)
    
    The artifact actions of <v3 will be removed soon. To avoid PR spam but
    also keep actions decently up-to-date I have added a dependabot.yml.
---
 .github/dependabot.yml                             | 26 ++++++++++++++++++++++
 .github/workflows/deploy_development_cookbooks.yml |  8 +++----
 .github/workflows/deploy_stable_cookbooks.yml      |  8 +++----
 .github/workflows/test_arrow_nightly_cookbook.yml  |  2 +-
 .github/workflows/test_cpp_cookbook.yml            |  2 +-
 5 files changed, 36 insertions(+), 10 deletions(-)

diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 0000000..ca13cbe
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,26 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+version: 2
+updates:
+  - package-ecosystem: "github-actions"
+    directory: "/"
+    schedule:
+      interval: "monthly"
+    commit-message:
+      prefix: "MINOR: "
+
diff --git a/.github/workflows/deploy_development_cookbooks.yml 
b/.github/workflows/deploy_development_cookbooks.yml
index 94c1072..e992580 100644
--- a/.github/workflows/deploy_development_cookbooks.yml
+++ b/.github/workflows/deploy_development_cookbooks.yml
@@ -32,7 +32,7 @@ jobs:
       - name: Build and render books
         run: make all
       - name: Upload book artifact
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: build_book
           path: build/
@@ -69,7 +69,7 @@ jobs:
         run:
           make cpp
       - name: Upload cpp book
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: cpp_book
           path: build/cpp
@@ -89,12 +89,12 @@ jobs:
           git rm -rf --ignore-unmatch ./dev
           mkdir dev
       - name: Download book artifact
-        uses: actions/[email protected]
+        uses: actions/download-artifact@v4
         with:
           name: build_book
           path: ./dev
       - name: Download cpp book
-        uses: actions/[email protected]
+        uses: actions/download-artifact@v4
         with:
           name: cpp_book
           path: ./dev/cpp
diff --git a/.github/workflows/deploy_stable_cookbooks.yml 
b/.github/workflows/deploy_stable_cookbooks.yml
index 0c9eb6f..2d45a8a 100644
--- a/.github/workflows/deploy_stable_cookbooks.yml
+++ b/.github/workflows/deploy_stable_cookbooks.yml
@@ -32,7 +32,7 @@ jobs:
       - name: Copy .asf.yaml
         run: cp .asf.yaml build/.asf.yaml
       - name: Upload book artifact
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: build_book
           path: build/
@@ -69,7 +69,7 @@ jobs:
         run:
           make cpp
       - name: Upload cpp book
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: cpp_book
           path: build/cpp
@@ -93,12 +93,12 @@ jobs:
           git rm -rf .
           cp -R ../dev .
       - name: Download book artifact
-        uses: actions/[email protected]
+        uses: actions/download-artifact@v4
         with:
           name: build_book
           path: ./cookbook
       - name: Download cpp book
-        uses: actions/[email protected]
+        uses: actions/download-artifact@v4
         with:
           name: cpp_book
           path: ./cookbook/cpp
diff --git a/.github/workflows/test_arrow_nightly_cookbook.yml 
b/.github/workflows/test_arrow_nightly_cookbook.yml
index 85a276c..213cd2d 100644
--- a/.github/workflows/test_arrow_nightly_cookbook.yml
+++ b/.github/workflows/test_arrow_nightly_cookbook.yml
@@ -67,7 +67,7 @@ jobs:
         run:
           make cpp
       - name: Upload cpp book
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: cpp_book
           path: build/cpp
diff --git a/.github/workflows/test_cpp_cookbook.yml 
b/.github/workflows/test_cpp_cookbook.yml
index 2b87016..814c12f 100644
--- a/.github/workflows/test_cpp_cookbook.yml
+++ b/.github/workflows/test_cpp_cookbook.yml
@@ -62,7 +62,7 @@ jobs:
         run:
           make cpp
       - name: Upload cpp book
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: cpp_book
           path: build/cpp

Reply via email to