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

cgivre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/drill.git


The following commit(s) were added to refs/heads/master by this push:
     new 305fb1d3bf [MINOR UPDATE] Upgrade Actions (#2894)
305fb1d3bf is described below

commit 305fb1d3bf603777db58dbb7520123658bae950c
Author: PJ Fanning <pjfann...@users.noreply.github.com>
AuthorDate: Wed Mar 27 02:27:26 2024 +0100

    [MINOR UPDATE] Upgrade Actions (#2894)
---
 .github/workflows/ci.yml               | 8 +++++---
 .github/workflows/codeql-analysis.yml  | 1 +
 .github/workflows/publish-snapshot.yml | 3 ++-
 3 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 833f3d4c62..39c3fc0aa9 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -29,6 +29,7 @@ jobs:
   build:
     name: Main Build
     runs-on: ubuntu-latest
+    if: github.repository == 'apache/drill'
     timeout-minutes: 150
     strategy:
       matrix:
@@ -43,7 +44,7 @@ jobs:
       - name: Checkout
         uses: actions/checkout@v4
       - name: Setup java
-        uses: actions/setup-java@v3
+        uses: actions/setup-java@v4
         with:
           distribution: 'temurin'
           java-version: ${{ matrix.java }}
@@ -72,18 +73,19 @@ jobs:
   checkstyle_protobuf:
     name: Run checkstyle and generate protobufs
     runs-on: ubuntu-latest
+    if: github.repository == 'apache/drill'
     steps:
       - name: Checkout
         uses: actions/checkout@v4
       - name: Setup java
-        uses: actions/setup-java@v3
+        uses: actions/setup-java@v4
         with:
           distribution: 'temurin'
           java-version: '8'
           cache: 'maven'
       # Caches built protobuf library
       - name: Cache protobufs
-        uses: actions/cache@v3
+        uses: actions/cache@v4
         with:
           path: ~/protobuf
           key: ${{ runner.os }}-protobuf
diff --git a/.github/workflows/codeql-analysis.yml 
b/.github/workflows/codeql-analysis.yml
index 3af5fefa86..65155dcfc9 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -42,6 +42,7 @@ jobs:
   analyze:
     name: Analyze
     runs-on: ubuntu-latest
+    if: github.repository == 'apache/drill'
     permissions:
       actions: read
       contents: read
diff --git a/.github/workflows/publish-snapshot.yml 
b/.github/workflows/publish-snapshot.yml
index 4350d3fbcf..135d711cf6 100644
--- a/.github/workflows/publish-snapshot.yml
+++ b/.github/workflows/publish-snapshot.yml
@@ -27,11 +27,12 @@ jobs:
   publish:
     name: Publish snapshot artifacts
     runs-on: ubuntu-latest
+    if: github.repository == 'apache/drill'
     steps:
       - name: Checkout
         uses: actions/checkout@v4
       - name: Cache Maven Repository
-        uses: actions/cache@v2
+        uses: actions/cache@v4
         with:
           path: ~/.m2/repository
           key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}

Reply via email to