From 8410ad0602e1e429cee44a835ae9f77f654a6694 Mon Sep 17 00:00:00 2001 From: John Wesley Walker III <81404201+jww3@users.noreply.github.com> Date: Tue, 12 Mar 2024 12:39:30 +0100 Subject: [PATCH] Update `actions/checkout` version in `update-main-version.yml` (#1650) --- .github/workflows/update-main-version.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-main-version.yml b/.github/workflows/update-main-version.yml index e2dc11134..9dad671df 100644 --- a/.github/workflows/update-main-version.yml +++ b/.github/workflows/update-main-version.yml @@ -19,7 +19,10 @@ jobs: tag: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + # Note this update workflow can also be used as a rollback tool. + # For that reason, it's best to pin `actions/checkout` to a known, stable version + # (typically, about two releases back). + - uses: actions/checkout@v4.1.1 with: fetch-depth: 0 - name: Git config