Skip to content

Commit

Permalink
Revert "Check for fixup commits on CI"
Browse files Browse the repository at this point in the history
This reverts commit 7652d57.

Not working on forks, and I don't have time to fix right now
  • Loading branch information
jesseduffield committed Jul 13, 2024
1 parent b9107d5 commit f2db9fa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 47 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,25 +219,3 @@ jobs:
CODACY_PROJECT_TOKEN=${{ secrets.CODACY_PROJECT_TOKEN }} \
bash <(curl -Ls https://coverage.codacy.com/get.sh) report \
--force-coverage-parser go -r coverage.out
check-for-fixups:
runs-on: ubuntu-latest
if: github.ref != 'refs/heads/master'
steps:
# See https://github.com/actions/checkout/issues/552#issuecomment-1167086216
- name: "PR commits + 1"
run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}"

- name: "Checkout PR branch and all PR commits"
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: ${{ env.PR_FETCH_DEPTH }}

- name: "Fetch the other branch with enough history for a common merge-base commit"
run: |
git fetch origin ${{ github.event.pull_request.base.ref }}
- name: Check for fixups
run: |
./scripts/check_for_fixups.sh ${{ github.event.pull_request.base.ref }}
25 changes: 0 additions & 25 deletions scripts/check_for_fixups.sh

This file was deleted.

0 comments on commit f2db9fa

Please sign in to comment.