diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e0d62c7ef8f..bd58eb7052b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: # The token is only needed for privileged actions from within the repo, so no need # to make it available on 3rd party PRs if: ${{ fromJSON(env.PRIVILEGED_RUN) }} - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.SORMAS_VITAGROUP_CI_TOKEN }} @@ -40,7 +40,7 @@ jobs: # The token is only needed for privileged actions from within the # repo, so no need to make it available on 3rd party PRs if: ${{ !fromJSON(env.PRIVILEGED_RUN) }} - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index da99d0c5488..b9945082d5d 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -9,6 +9,6 @@ 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@v3 diff --git a/.github/workflows/github_pages.yml b/.github/workflows/github_pages.yml index e01a57231ff..d1adbd3caea 100644 --- a/.github/workflows/github_pages.yml +++ b/.github/workflows/github_pages.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout development - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Copy files run: | cp README.md docs/index.md diff --git a/.github/workflows/gradle_wrapper_validation.yml b/.github/workflows/gradle_wrapper_validation.yml index ded86c79999..76a61a876f5 100644 --- a/.github/workflows/gradle_wrapper_validation.yml +++ b/.github/workflows/gradle_wrapper_validation.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository (without token) - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Validate gradle wrapper uses: gradle/wrapper-validation-action@v1 diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 28a50f7b762..3c67ac2e4a7 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -37,7 +37,7 @@ jobs: # Checkout the code base # ########################## - name: Checkout Code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Full git history is needed to get a proper list of changed files within `super-linter` fetch-depth: 0 diff --git a/.github/workflows/openapi_canary.yml b/.github/workflows/openapi_canary.yml index 854ba86ecac..b0de2156db2 100644 --- a/.github/workflows/openapi_canary.yml +++ b/.github/workflows/openapi_canary.yml @@ -14,12 +14,12 @@ jobs: steps: - name: Checkout development branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: head - name: Checkout master branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: master path: base diff --git a/.github/workflows/sormas_app_ci.yml b/.github/workflows/sormas_app_ci.yml index 27f7294cb0e..8f74144f869 100644 --- a/.github/workflows/sormas_app_ci.yml +++ b/.github/workflows/sormas_app_ci.yml @@ -41,7 +41,7 @@ jobs: # The token is only needed for privileged actions from within the repo, so no need # to make it available on 3rd party PRs if: ${{ fromJSON(env.PRIVILEGED_RUN) }} - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.SORMAS_VITAGROUP_CI_TOKEN }} @@ -50,7 +50,7 @@ jobs: # The token is only needed for privileged actions from within the repo, so no need # to make it available on 3rd party PRs if: ${{ !fromJSON(env.PRIVILEGED_RUN) }} - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up JDK ${{ env.JAVA }} uses: actions/setup-java@v3