name: CI on: pull_request # A push to a pull request cancels that pull request's older runs; the merge gate reads only the head commit's status. # The group is per pull request, so pull requests never cancel each other's runs. concurrency: group: ci-pr-${{ github.event.pull_request.number }} cancel-in-progress: true jobs: tests: runs-on: docker-host steps: - uses: actions/checkout@v7.0.1 with: fetch-depth: 0 # ci.sh bundles HEAD, which fails in a shallow clone - run: sh ci.sh