diff --git a/.github/workflows/build-and-push-image.yml b/.github/workflows/build-and-push-image.yml index 038219974..972c3adfb 100644 --- a/.github/workflows/build-and-push-image.yml +++ b/.github/workflows/build-and-push-image.yml @@ -28,7 +28,7 @@ jobs: release: ${{ steps.var.outputs.release }} checked-out-sha: ${{ steps.var.outputs.checked-out-sha }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.ref }} @@ -51,7 +51,7 @@ jobs: runs-on: ubuntu-22.04 environment: ${{ needs.set-env.outputs.environment }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.ref }} @@ -81,7 +81,7 @@ jobs: needs: set-env runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.ref }} @@ -143,7 +143,7 @@ jobs: run: working-directory: Dfe.PrepareConversions/Dfe.PrepareConversions.CypressTests steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.ref }} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f877ba647..7be888412 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 # Shallow clones disabled for a better relevancy of SC analysis - name: lint cypress tests @@ -26,7 +26,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 # Shallow clones disabled for a better relevancy of SC analysis - name: Setup .NET diff --git a/.github/workflows/continuous-integration-terraform.yml b/.github/workflows/continuous-integration-terraform.yml index 987eac8fa..206331eda 100644 --- a/.github/workflows/continuous-integration-terraform.yml +++ b/.github/workflows/continuous-integration-terraform.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Check for terraform version mismatch run: | diff --git a/.github/workflows/security-tests.yml b/.github/workflows/security-tests.yml index 3094acf46..483c004c2 100644 --- a/.github/workflows/security-tests.yml +++ b/.github/workflows/security-tests.yml @@ -21,7 +21,7 @@ jobs: working-directory: Dfe.PrepareConversions/Dfe.PrepareConversions.CypressTests steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Create directory on runner run: |