From 0a72fbf7f7d428cc5ca1a78bebe5770b0e8fc01c Mon Sep 17 00:00:00 2001 From: Margen67 Date: Mon, 7 Mar 2022 16:06:09 -0800 Subject: [PATCH 1/2] CI: Upgrade checkout+upload/download-artifact to v3 --- .github/workflows/CI.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3d203d4ac..e14153954 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -32,7 +32,7 @@ jobs: configuration: [Release, Debug] vsver: [2022, 2019] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: submodules: recursive - name: Generate CMake files @@ -42,7 +42,7 @@ jobs: - name: Prepare artifacts if: matrix.configuration == 'Release' run: cmake --install build --config ${{ matrix.configuration }} --prefix artifacts - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 if: matrix.configuration == 'Release' with: name: CxbxReloaded-${{ matrix.configuration }}-VS${{ matrix.vsver }} @@ -57,9 +57,9 @@ jobs: needs: build-windows runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Download artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: path: artifacts - name: Re-zip artifacts From b1446a5f6bc489a219b79cb8cff117edee8488bd Mon Sep 17 00:00:00 2001 From: Margen67 Date: Wed, 9 Mar 2022 13:55:24 -0800 Subject: [PATCH 2/2] Other workflow improvements autoclose: Use checkout v3. pull-request: Use labeler v4. --- .github/workflows/autoclose.yml | 4 ++-- .github/workflows/pull-request.yml | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/autoclose.yml b/.github/workflows/autoclose.yml index e93ce695c..17e4fa866 100644 --- a/.github/workflows/autoclose.yml +++ b/.github/workflows/autoclose.yml @@ -1,13 +1,13 @@ on: issues: - types: [opened] + types: opened jobs: auto_close_issues: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v3 - name: Automatically close issues that don't follow the issue template uses: ergo720/auto-close-issues@v1.0.4 with: diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index a360c5dcb..020c84325 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -1,14 +1,13 @@ name: Pull Request Manager -on: - pull_request_target: +on: pull_request_target jobs: pr_manager: runs-on: ubuntu-latest steps: - name: Labeler - uses: actions/labeler@v3 + uses: actions/labeler@v4 with: repo-token: ${{ secrets.GITHUB_TOKEN }} sync-labels: true