From be7c9671bac72ded91967fc8ee129f7d329f158d Mon Sep 17 00:00:00 2001 From: Chad Austin Date: Tue, 1 Feb 2022 09:49:33 -0800 Subject: [PATCH] update to checkout@v2 Summary: checkout@v2 is the current action version, and the old one may have security issues. Let's just run with the latest version. Reviewed By: ahornby Differential Revision: D33834847 fbshipit-source-id: fba0733577bf23c208c9824aa3815bd01a813d9a --- .github/workflows/getdeps_linux.yml | 2 +- .github/workflows/getdeps_mac.yml | 2 +- build/fbcode_builder/getdeps.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/getdeps_linux.yml b/.github/workflows/getdeps_linux.yml index 64f273a14..4d7dffa8b 100644 --- a/.github/workflows/getdeps_linux.yml +++ b/.github/workflows/getdeps_linux.yml @@ -14,7 +14,7 @@ jobs: build: runs-on: ubuntu-18.04 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - name: Fetch zlib run: python3 build/fbcode_builder/getdeps.py fetch --no-tests zlib - name: Fetch ninja diff --git a/.github/workflows/getdeps_mac.yml b/.github/workflows/getdeps_mac.yml index 8be0961d3..0733cda68 100644 --- a/.github/workflows/getdeps_mac.yml +++ b/.github/workflows/getdeps_mac.yml @@ -14,7 +14,7 @@ jobs: build: runs-on: macOS-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - name: Fetch zlib run: python3 build/fbcode_builder/getdeps.py fetch --no-tests zlib - name: Fetch ninja diff --git a/build/fbcode_builder/getdeps.py b/build/fbcode_builder/getdeps.py index ba801e919..b7610d74f 100755 --- a/build/fbcode_builder/getdeps.py +++ b/build/fbcode_builder/getdeps.py @@ -934,7 +934,7 @@ jobs: out.write(" build:\n") out.write(" runs-on: %s\n" % runs_on) out.write(" steps:\n") - out.write(" - uses: actions/checkout@v1\n") + out.write(" - uses: actions/checkout@v2\n") if build_opts.is_windows(): # cmake relies on BOOST_ROOT but GH deliberately don't set it in order