diff --git a/.github/workflows/build-test-app.yml b/.github/workflows/build-test-app.yml index 5b7eaf2074..1b5137fdb0 100644 --- a/.github/workflows/build-test-app.yml +++ b/.github/workflows/build-test-app.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Check out code - uses: actions/checkout@v3.5.3 + uses: actions/checkout@v4 - name: Login to docker registry uses: docker/login-action@v2 diff --git a/.github/workflows/cleanup-all.yml b/.github/workflows/cleanup-all.yml index ed0adcae68..89b2c7866a 100644 --- a/.github/workflows/cleanup-all.yml +++ b/.github/workflows/cleanup-all.yml @@ -33,7 +33,7 @@ jobs: name: Cleanup atlas empty projects, and terminate cluster runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3.5.3 + - uses: actions/checkout@v4 - name: Set up Go uses: actions/setup-go@v4 diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 67ef7995cb..80919cccf6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Check out code - uses: actions/checkout@v3.5.3 + uses: actions/checkout@v4 - name: Prepare tag id: prepare diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 03c0a44053..ff362b1d7f 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -15,7 +15,7 @@ jobs: name: lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3.5.3 + - uses: actions/checkout@v4 - name: Setup Go uses: actions/setup-go@v4 diff --git a/.github/workflows/openshift-upgrade-test.yaml b/.github/workflows/openshift-upgrade-test.yaml index 536723a4d9..b6ba8ecd41 100644 --- a/.github/workflows/openshift-upgrade-test.yaml +++ b/.github/workflows/openshift-upgrade-test.yaml @@ -36,13 +36,13 @@ jobs: steps: - if: ${{ inputs.forked == false }} name: Check out code - uses: actions/checkout@v3.5.3 + uses: actions/checkout@v4 with: fetch-depth: 0 # required for tags - if: ${{ inputs.forked == true }} name: Check out code - uses: actions/checkout@v3.5.3 + uses: actions/checkout@v4 with: ref: ${{github.event.pull_request.head.sha}} repository: ${{github.event.pull_request.head.repo.full_name}} diff --git a/.github/workflows/paths-filter.yml b/.github/workflows/paths-filter.yml index 42dec9cad7..26eedb8940 100644 --- a/.github/workflows/paths-filter.yml +++ b/.github/workflows/paths-filter.yml @@ -13,7 +13,7 @@ jobs: outputs: production-code-changed: ${{ steps.filter.outputs.production-code-changed }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: dorny/paths-filter@v2 id: filter with: diff --git a/.github/workflows/rebuild-released-images.yaml b/.github/workflows/rebuild-released-images.yaml index c545722064..0f024ffd8b 100644 --- a/.github/workflows/rebuild-released-images.yaml +++ b/.github/workflows/rebuild-released-images.yaml @@ -16,7 +16,7 @@ jobs: date: ${{ steps.set-date.outputs.date }} steps: - name: Check out code - uses: actions/checkout@v3.5.3 + uses: actions/checkout@v4 with: submodules: true fetch-depth: 0 @@ -51,7 +51,7 @@ jobs: run: | echo "Building ${{matrix.version}} version" - name: Check out code - uses: actions/checkout@v3.5.3 + uses: actions/checkout@v4 with: ref: ${{ matrix.version }} submodules: true diff --git a/.github/workflows/release-branch.yml b/.github/workflows/release-branch.yml index 621730ee2b..3bfcb19f48 100644 --- a/.github/workflows/release-branch.yml +++ b/.github/workflows/release-branch.yml @@ -22,7 +22,7 @@ jobs: steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3.5.3 + uses: actions/checkout@v4 with: fetch-depth: 0 #required for tags diff --git a/.github/workflows/release-openshift.yaml b/.github/workflows/release-openshift.yaml index 61820ba00d..2a93abf69c 100644 --- a/.github/workflows/release-openshift.yaml +++ b/.github/workflows/release-openshift.yaml @@ -20,13 +20,13 @@ jobs: certified: true steps: - name: Clone/Checkout Atlas Operator - uses: actions/checkout@v3.5.3 + uses: actions/checkout@v4 with: ref: main path: "mongodb-atlas-kubernetes" fetch-depth: 0 - name: Clone/Checkout releases repositories - uses: actions/checkout@v3.5.3 + uses: actions/checkout@v4 with: repository: ${{ matrix.repository }} ref: main diff --git a/.github/workflows/release-post-install-hook.yml b/.github/workflows/release-post-install-hook.yml index 4b78589280..a23e9a9858 100644 --- a/.github/workflows/release-post-install-hook.yml +++ b/.github/workflows/release-post-install-hook.yml @@ -17,7 +17,7 @@ jobs: QUAY_RELEASE_REGISTRY: quay.io steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3.5.3 + uses: actions/checkout@v4 with: submodules: true fetch-depth: 0 diff --git a/.github/workflows/release-post-merge.yml b/.github/workflows/release-post-merge.yml index 4fa5ba7ba0..7d456e0f1b 100644 --- a/.github/workflows/release-post-merge.yml +++ b/.github/workflows/release-post-merge.yml @@ -57,7 +57,7 @@ jobs: https://api.github.com/repos/mongodb/helm-charts/actions/workflows/post-atlas-operator-release.yaml/dispatches \ -d '{"ref":"main","inputs":{"version":"'"${{ steps.tag.outputs.version }}"'"}}' - name: Check out code - uses: actions/checkout@v3.5.3 + uses: actions/checkout@v4 with: submodules: true fetch-depth: 0 diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml index d0310f2334..0c6013d76d 100644 --- a/.github/workflows/test-e2e.yml +++ b/.github/workflows/test-e2e.yml @@ -17,13 +17,13 @@ jobs: steps: - if: ${{ inputs.forked == false }} name: Check out code - uses: actions/checkout@v3.5.3 + uses: actions/checkout@v4 with: submodules: true fetch-depth: 0 - if: ${{ inputs.forked == true }} name: Check out code - uses: actions/checkout@v3.5.3 + uses: actions/checkout@v4 with: submodules: true ref: ${{github.event.pull_request.head.sha}} @@ -52,13 +52,13 @@ jobs: steps: - if: ${{ inputs.forked == false }} name: Check out code - uses: actions/checkout@v3.5.3 + uses: actions/checkout@v4 with: submodules: true fetch-depth: 0 - if: ${{ inputs.forked == true }} name: Check out code - uses: actions/checkout@v3.5.3 + uses: actions/checkout@v4 with: submodules: true ref: ${{github.event.pull_request.head.sha}} diff --git a/.github/workflows/test-int.yml b/.github/workflows/test-int.yml index 02cee8c4dd..cc724ae15b 100644 --- a/.github/workflows/test-int.yml +++ b/.github/workflows/test-int.yml @@ -26,11 +26,11 @@ jobs: steps: - if: ${{ inputs.forked == false }} name: Check out code - uses: actions/checkout@v3.5.3 + uses: actions/checkout@v4 - if: ${{ inputs.forked == true }} name: Check out code - uses: actions/checkout@v3.5.3 + uses: actions/checkout@v4 with: ref: ${{github.event.pull_request.head.sha}} repository: ${{github.event.pull_request.head.repo.full_name}} diff --git a/.github/workflows/test-unit.yml b/.github/workflows/test-unit.yml index c94ab7c62f..c45b7141b9 100644 --- a/.github/workflows/test-unit.yml +++ b/.github/workflows/test-unit.yml @@ -14,10 +14,10 @@ jobs: runs-on: ubuntu-latest steps: - if: ${{ inputs.forked == false }} - uses: actions/checkout@v3.5.3 + uses: actions/checkout@v4 - if: ${{ inputs.forked == true }} - uses: actions/checkout@v3.5.3 + uses: actions/checkout@v4 with: ref: ${{github.event.pull_request.head.sha}} repository: ${{github.event.pull_request.head.repo.full_name}}