From abddf14bf1797b584bfeff14f7486bfbc114a068 Mon Sep 17 00:00:00 2001 From: Pranav Yadav Date: Tue, 18 Apr 2023 06:49:37 -0700 Subject: [PATCH] chore: bump `actions/checkout` to `v3` (#36937) Summary: A recent [Rebase run](https://github.com/facebook/react-native/actions/runs/4724279197/jobs/8381306851) gave following warning: >Node.js 12 actions are *deprecated*. Please update the following actions to use Node.js 16: actions/checkout@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. So, it makes sense to upgrade to `actions/checkout@v3`. ## Changelog: [GENERAL] [SECURITY] - Bump `actions/checkout` to `v3` Pull Request resolved: https://github.com/facebook/react-native/pull/36937 Test Plan: - ci should be green + the `/rebase` command works as usual. Reviewed By: rshest Differential Revision: D45079793 Pulled By: cortinico fbshipit-source-id: 49e654cf15f6ae7208bf8b277a194ace3fa62aa0 --- .github/workflows/autorebase.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/autorebase.yml b/.github/workflows/autorebase.yml index 78820f8fea4..c17389eb168 100644 --- a/.github/workflows/autorebase.yml +++ b/.github/workflows/autorebase.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the latest code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: token: ${{ secrets.GITHUB_TOKEN }} fetch-depth: 0 # otherwise, you will fail to push refs to dest repo