diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 37e00e6dc6..a3e5307053 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -70,7 +70,7 @@ jobs: psql --version Write-Host "Active .NET SDK: $(dotnet --version)" - name: Git checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Restore tools run: | dotnet tool restore @@ -161,7 +161,7 @@ jobs: contents: read steps: - name: Git checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup .NET uses: actions/setup-dotnet@v3 with: @@ -212,7 +212,7 @@ jobs: contents: read steps: - name: Git checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 2 - name: Setup .NET diff --git a/.github/workflows/qodana.yml b/.github/workflows/qodana.yml index 8e0585f9cc..9225d9f816 100644 --- a/.github/workflows/qodana.yml +++ b/.github/workflows/qodana.yml @@ -17,7 +17,7 @@ jobs: pull-requests: write checks: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit fetch-depth: 0 # a full history is required for pull request analysis