diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 403dcc4d..0d64cef1 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@v3 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 diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 22ac4bed..7a84b823 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -49,7 +49,7 @@ jobs: - name: Install Hatch run: python -m pip install hatch==1.6.3 - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3 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 073c2f2d..910f5934 100644 --- a/.github/workflows/test-docker.yml +++ b/.github/workflows/test-docker.yml @@ -28,7 +28,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 diff --git a/.github/workflows/test-release.yml b/.github/workflows/test-release.yml index caf00dd8..3cdbe533 100644 --- a/.github/workflows/test-release.yml +++ b/.github/workflows/test-release.yml @@ -66,7 +66,7 @@ jobs: gitlint --version [ "$(gitlint --version)" == "gitlint, version ${{ inputs.gitlint_version }}" ] - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3 with: ref: ${{ inputs.repo_test_ref }}