From b3e0e2de0c7164255ae06d7b13072a5e329f647e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 21 Oct 2024 16:16:13 +0200 Subject: [PATCH] Update to `actions/checkout@v4` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes: > The following actions uses node12 which is deprecated and will be forced to > run on node16: actions/checkout@v2. For more info: > https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/ Signed-off-by: Tim Düsterhus --- .github/workflows/changelog_verifier.yml | 2 +- .github/workflows/dependabot_pr.yml | 4 ++-- .github/workflows/links.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 14 +++++++------- .github/workflows/test_unreleased.yml | 4 ++-- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/changelog_verifier.yml b/.github/workflows/changelog_verifier.yml index 992a38b6..3a4f731e 100644 --- a/.github/workflows/changelog_verifier.yml +++ b/.github/workflows/changelog_verifier.yml @@ -8,7 +8,7 @@ jobs: verify-changelog: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} ref: ${{ github.event.pull_request.head.sha }} diff --git a/.github/workflows/dependabot_pr.yml b/.github/workflows/dependabot_pr.yml index 5abbd37e..baad9d11 100644 --- a/.github/workflows/dependabot_pr.yml +++ b/.github/workflows/dependabot_pr.yml @@ -25,7 +25,7 @@ jobs: installation_id: 22958780 - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ steps.github_app_token.outputs.token }} @@ -41,4 +41,4 @@ jobs: branch: ${{ github.head_ref }} commit_user_name: dependabot[bot] commit_user_email: support@github.com - commit_options: '--signoff' \ No newline at end of file + commit_options: '--signoff' diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml index 3c51ffdc..0295b3d7 100644 --- a/.github/workflows/links.yml +++ b/.github/workflows/links.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: lychee Link Checker id: lychee uses: lycheeverse/lychee-action@v1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7ba6c3fb..32996079 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: issues: write contents: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - id: get_data run: echo "approvers=$(cat .github/CODEOWNERS | grep @ | tr -d '* ' | sed 's/@/,/g' | sed 's/,//1')" >> $GITHUB_OUTPUT diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 860cb57a..c7181538 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Use PHP 8.2 uses: shivammathur/setup-php@v2 @@ -35,7 +35,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Use PHP 8.2 uses: shivammathur/setup-php@v2 @@ -68,7 +68,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Use PHP 8.2 uses: shivammathur/setup-php@v2 @@ -113,7 +113,7 @@ jobs: - windows-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Use PHP ${{ matrix.php-version }} uses: shivammathur/setup-php@v2 @@ -151,7 +151,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Use PHP 8.2 uses: shivammathur/setup-php@v2 @@ -210,7 +210,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Use PHP 8.2 uses: shivammathur/setup-php@v2 @@ -258,7 +258,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Use PHP 8.2 uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/test_unreleased.yml b/.github/workflows/test_unreleased.yml index 7cf27432..2353f689 100644 --- a/.github/workflows/test_unreleased.yml +++ b/.github/workflows/test_unreleased.yml @@ -17,7 +17,7 @@ jobs: opensearch_ref: [ '1.x', '2.x', 'main' ] steps: - name: Checkout PHP Client - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Use PHP 8.2 uses: shivammathur/setup-php@v2 @@ -32,7 +32,7 @@ jobs: composer install --prefer-dist - name: Checkout OpenSearch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: opensearch-project/OpenSearch ref: ${{ matrix.opensearch_ref }}