You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by pv...@apache.org on 2022/10/18 13:29:06 UTC

[nifi] branch main updated: NIFI-10658 Upgraded GitHub Actions to current versions

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 7d6dc2cace NIFI-10658 Upgraded GitHub Actions to current versions
7d6dc2cace is described below

commit 7d6dc2cacee6ae8740c2212c97cfdcb7c08341ec
Author: exceptionfactory <ex...@apache.org>
AuthorDate: Sat Oct 15 09:23:38 2022 -0500

    NIFI-10658 Upgraded GitHub Actions to current versions
    
    - Upgraded stale from 3 to 6
    - Upgraded checkout from 2 to 3 in system-tests
    - Upgraded setup-java from 2 to 3 in system-tests
    - Upgraded upload-artifact from 2 to 3 in system-tests
    
    Signed-off-by: Pierre Villard <pi...@gmail.com>
    
    This closes #6542.
---
 .github/workflows/stale.yml        | 15 +++++++--------
 .github/workflows/system-tests.yml | 18 +++++++++---------
 2 files changed, 16 insertions(+), 17 deletions(-)

diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index fe7cb6a872..c05fb1b1a1 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -13,7 +13,7 @@
 # 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.
-name: Manage stale PRs
+name: pull-request-review
 
 on:
   # Run every day at midnight 00:00
@@ -26,19 +26,18 @@ permissions:
 jobs:
   stale:
     permissions:
-      issues: write  # for actions/stale to close stale issues
-      pull-requests: write  # for actions/stale to close stale PRs
+      pull-requests: write
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/stale@v3
+      - uses: actions/stale@v6
         with:
           repo-token: ${{ secrets.GITHUB_TOKEN }}
           stale-pr-message: >
-            We're marking this PR as stale due to lack of updates in the past few months.
-            If after another couple of weeks the stale label has not been removed this PR will be closed.
-            This stale marker and eventual auto close does not indicate a judgement of the PR just
+            Automated review is marking this PR as stale due to lack of updates in the past four months.
+            This PR will be closed in 15 days if the stale label is not removed.
+            This stale label and automated closure does not indicate a judgement of the PR, just
             lack of reviewer bandwidth and helps us keep the PR queue more manageable.  If you would
-            like this PR re-opened you can do so and a committer can remove the stale tag.  Or you can
+            like this PR re-opened you can do so and a committer can remove the stale label.  Or you can
             open a new PR.  Try to help review other PRs to increase PR review bandwidth which in
             turn helps yours.
           days-before-stale: 120
diff --git a/.github/workflows/system-tests.yml b/.github/workflows/system-tests.yml
index 42a939530c..2aeb65d599 100644
--- a/.github/workflows/system-tests.yml
+++ b/.github/workflows/system-tests.yml
@@ -62,9 +62,9 @@ jobs:
     name: Ubuntu Java 17
     steps:
       - name: Checkout Code
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
       - name: Set up Java 17
-        uses: actions/setup-java@v2
+        uses: actions/setup-java@v3
         with:
           distribution: zulu
           java-version: 17
@@ -87,7 +87,7 @@ jobs:
           ${{ env.MAVEN_PROJECTS }}
       - name: Upload Troubleshooting Logs
         if: failure() || cancelled()
-        uses: actions/upload-artifact@v2
+        uses: actions/upload-artifact@v3
         with:
           name: ubuntu-17-troubleshooting-logs
           path: |
@@ -102,9 +102,9 @@ jobs:
     name: Ubuntu Java 11
     steps:
       - name: Checkout Code
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
       - name: Set up Java 11
-        uses: actions/setup-java@v2
+        uses: actions/setup-java@v3
         with:
           distribution: zulu
           java-version: 11
@@ -127,7 +127,7 @@ jobs:
           ${{ env.MAVEN_PROJECTS }}
       - name: Upload Troubleshooting Logs
         if: failure() || cancelled()
-        uses: actions/upload-artifact@v2
+        uses: actions/upload-artifact@v3
         with:
           name: ubuntu-latest-troubleshooting-logs
           path: |
@@ -142,9 +142,9 @@ jobs:
     name: MacOS Java 8
     steps:
       - name: Checkout Code
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
       - name: Set up Java 8
-        uses: actions/setup-java@v2
+        uses: actions/setup-java@v3
         with:
           distribution: zulu
           java-version: 8
@@ -167,7 +167,7 @@ jobs:
           ${{ env.MAVEN_PROJECTS }}
       - name: Upload Troubleshooting Logs
         if: failure() || cancelled()
-        uses: actions/upload-artifact@v2
+        uses: actions/upload-artifact@v3
         with:
           name: macos-latest-troubleshooting-logs
           path: |