From 90804d2a8e96e4cf8a4e58ecf4cf66db354670a1 Mon Sep 17 00:00:00 2001 From: John Wesley Walker III <81404201+jww3@users.noreply.github.com> Date: Tue, 12 Mar 2024 12:38:01 +0100 Subject: [PATCH] Update `actions/checkout` version in `update-main-version.yml` --- .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