diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a3c6283e..ce4b98fc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", pypy-3.9] os: ["macos-latest", "ubuntu-latest", "windows-latest"] steps: - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} # Checkout pull request HEAD commit instead of merge commit fetch-depth: 0 # checkout all history, needed for hatch versioning @@ -87,7 +87,7 @@ jobs: python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", pypy-3.9] os: ["macos-latest", "ubuntu-latest", "windows-latest"] steps: - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} # Checkout pull request HEAD commit instead of merge commit fetch-depth: 0 # checkout all history, needed for hatch versioning @@ -171,7 +171,7 @@ jobs: doc-checks: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} # Checkout pull request HEAD commit instead of merge commit @@ -247,7 +247,7 @@ jobs: runs-on: "ubuntu-latest" steps: # Checkout code in order to determine PR number - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 84155829..fa54649d 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -24,12 +24,12 @@ jobs: steps: # Checkout the gh-pages branch, we need to commit the docs to this branch below - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v4 with: ref: gh-pages # Now checkout the git ref on which we're working - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4.7.0 with: diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 4fdafaf9..ff575650 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -66,7 +66,7 @@ jobs: - name: Install Hatch run: python -m pip install hatch==1.7.0 - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v4 with: ref: ${{ inputs.repo_release_ref }} fetch-depth: 0 # checkout all history, needed for hatch versioning diff --git a/.github/workflows/test-docker.yml b/.github/workflows/test-docker.yml index b811c418..16f4dafa 100644 --- a/.github/workflows/test-docker.yml +++ b/.github/workflows/test-docker.yml @@ -32,7 +32,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/test-release.yml b/.github/workflows/test-release.yml index d28ed46c..7f498bdb 100644 --- a/.github/workflows/test-release.yml +++ b/.github/workflows/test-release.yml @@ -59,7 +59,7 @@ jobs: gitlint --version [ "$(gitlint --version)" == "gitlint, version ${{ inputs.gitlint_version }}" ] - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v4 with: ref: ${{ inputs.repo_test_ref }}