diff --git a/.github/workflows/actions-linting.yml b/.github/workflows/actions-linting.yml index a136edc6..247cbf33 100644 --- a/.github/workflows/actions-linting.yml +++ b/.github/workflows/actions-linting.yml @@ -17,8 +17,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - with: - ref: ${{ github.event.pull_request.head.sha }} - name: Install action-validator with asdf uses: asdf-vm/actions/install@1902764435ca0dd2f3388eea723a4f92a4eb8302 # v4 @@ -36,8 +34,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - with: - ref: ${{ github.event.pull_request.head.sha }} - name: Check workflow files uses: docker://rhysd/actionlint@sha256:887a259a5a534f3c4f36cb02dca341673c6089431057242cdc931e9f133147e9 # 1.7.7 @@ -49,8 +45,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - with: - ref: ${{ github.event.pull_request.head.sha }} - name: Find unpinned actions run: | diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index c9ca02de..4f81f996 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -19,8 +19,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - with: - ref: ${{ github.event.pull_request.head.sha }} - uses: matrix-org/setup-python-poetry@5bbf6603c5c930615ec8a29f1b5d7d258d905aa4 # v2 with: @@ -51,8 +49,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - with: - ref: ${{ github.event.pull_request.head.sha }} - name: Set up chart-testing uses: helm/chart-testing-action@0d28d3144d3a25ea2cc349d6e59901c4ff469b3b # v2.7.0 @@ -105,7 +101,6 @@ jobs: - name: Checkout PR uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 with: - ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 # helm template doesn't reliably order manifests within the same kind, so use yq to do it for us diff --git a/.github/workflows/changelog_check.yml b/.github/workflows/changelog_check.yml index 5941dcdb..898459de 100644 --- a/.github/workflows/changelog_check.yml +++ b/.github/workflows/changelog_check.yml @@ -14,7 +14,6 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 with: fetch-depth: 0 - ref: ${{github.event.pull_request.head.sha}} - uses: matrix-org/setup-python-poetry@5bbf6603c5c930615ec8a29f1b5d7d258d905aa4 # v2 with: @@ -37,8 +36,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - with: - ref: ${{github.event.pull_request.head.sha}} - uses: matrix-org/setup-python-poetry@5bbf6603c5c930615ec8a29f1b5d7d258d905aa4 # v2 with: diff --git a/.github/workflows/licensing.yml b/.github/workflows/licensing.yml index 8a904417..7d8c50d9 100644 --- a/.github/workflows/licensing.yml +++ b/.github/workflows/licensing.yml @@ -17,8 +17,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - with: - ref: ${{ github.event.pull_request.head.sha }} - uses: matrix-org/setup-python-poetry@5bbf6603c5c930615ec8a29f1b5d7d258d905aa4 # v2 with: @@ -47,7 +45,6 @@ jobs: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 with: - ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 # REUSE-IgnoreStart diff --git a/.github/workflows/matrix-tools.yml b/.github/workflows/matrix-tools.yml index 17627cd8..50ed1156 100644 --- a/.github/workflows/matrix-tools.yml +++ b/.github/workflows/matrix-tools.yml @@ -26,8 +26,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - with: - ref: ${{ github.event.pull_request.head.sha }} - uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5 with: @@ -60,8 +58,6 @@ jobs: - name: Checkout Repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - with: - ref: ${{ github.event.pull_request.head.sha }} - name: Login to GHCR uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3 diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index d14909bd..65cbadf5 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -31,7 +31,6 @@ jobs: steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 with: - ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 tags: true - id: data @@ -57,7 +56,6 @@ jobs: steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 with: - ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 fetch-tags: true @@ -159,8 +157,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - with: - ref: ${{ github.event.pull_request.head.sha }} - uses: matrix-org/setup-python-poetry@5bbf6603c5c930615ec8a29f1b5d7d258d905aa4 # v2 with: diff --git a/.github/workflows/releasing.yml b/.github/workflows/releasing.yml index d526b0c8..1a7e8bb5 100644 --- a/.github/workflows/releasing.yml +++ b/.github/workflows/releasing.yml @@ -21,8 +21,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - with: - ref: ${{ github.event.pull_request.head.sha }} - uses: matrix-org/setup-python-poetry@5bbf6603c5c930615ec8a29f1b5d7d258d905aa4 # v2 with: @@ -100,8 +98,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - with: - ref: ${{ github.event.pull_request.head.sha }} - name: Grab packaged chart uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4 diff --git a/.github/workflows/scripts-linting.yml b/.github/workflows/scripts-linting.yml index 0c5575fa..d3c8240c 100644 --- a/.github/workflows/scripts-linting.yml +++ b/.github/workflows/scripts-linting.yml @@ -17,8 +17,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - with: - ref: ${{ github.event.pull_request.head.sha }} - name: Run ShellCheck run: shellcheck scripts/*.sh @@ -28,8 +26,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - with: - ref: ${{ github.event.pull_request.head.sha }} - uses: matrix-org/setup-python-poetry@5bbf6603c5c930615ec8a29f1b5d7d258d905aa4 # v2 with: diff --git a/newsfragments/586.internal.1.md b/newsfragments/586.internal.1.md new file mode 100644 index 00000000..52714f98 --- /dev/null +++ b/newsfragments/586.internal.1.md @@ -0,0 +1 @@ +CI: simplify which commit we checkout.