From f07346e9481b965dddaca8a6211b5bb4945ef98a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 5 Jun 2024 08:16:40 +0000 Subject: [PATCH] Bump actions/checkout from 2 to 4 Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/auto-approve-pr.yml | 2 +- .github/workflows/dependency-review.yml | 2 +- .github/workflows/format-code.yml | 2 +- .github/workflows/link-checker.yml | 2 +- .github/workflows/publish.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/auto-approve-pr.yml b/.github/workflows/auto-approve-pr.yml index 151ee7b5..1840f92f 100644 --- a/.github/workflows/auto-approve-pr.yml +++ b/.github/workflows/auto-approve-pr.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Checkout PR code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - run: | git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* - name: Run git diff against repository diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index cbb2d547..0925fb8a 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Dependency Review uses: actions/dependency-review-action@v2 with: diff --git a/.github/workflows/format-code.yml b/.github/workflows/format-code.yml index 5e6db6ac..4b9794e1 100644 --- a/.github/workflows/format-code.yml +++ b/.github/workflows/format-code.yml @@ -8,7 +8,7 @@ jobs: format-code: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ministryofjustice/github-actions/code-formatter@v7 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/link-checker.yml b/.github/workflows/link-checker.yml index cc268506..9da9f894 100644 --- a/.github/workflows/link-checker.yml +++ b/.github/workflows/link-checker.yml @@ -10,7 +10,7 @@ jobs: linkChecker: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Link Checker uses: lycheeverse/lychee-action@v1.9.1 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2a4e275d..01df813e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,7 +13,7 @@ jobs: image: ministryofjustice/tech-docs-github-pages-publisher:v3.0.2 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Compile Markdown to HTML and create artifact run: | cd runbooks; /scripts/deploy.sh false