Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump actions/checkout from 2 to 4 #1117

Merged
merged 1 commit into from
Sep 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-test-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cleanup-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/openshift-upgrade-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/paths-filter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rebuild-released-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-openshift.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-post-install-hook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-post-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down Expand Up @@ -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}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-int.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down
Loading