In order to "bisect" a PR with multiple commits, we could do the following:
- add a
bisect label
- the reusable workflow will be triggered for each commit of the PR (maybe need some safeguard... anything above 10 commits will be rejected)
This should be easy, since the workflow is already written in such a way that it can be executed for different git refs:
|
branches: |
|
required: true |
|
type: string |
|
build-linux: |
|
name: Build linux binaries |
|
runs-on: ubuntu-latest |
|
needs: ["tool-output"] |
|
strategy: |
|
fail-fast: false |
|
matrix: |
|
branch: ${{ fromJSON(inputs.branches) }} |
|
jobs: |
|
release-workflow: |
|
uses: ./.github/workflows/reusable-release.yml |
|
with: |
|
branches: '["${{ github.ref }}"]' |
In order to "bisect" a PR with multiple commits, we could do the following:
bisectlabelThis should be easy, since the workflow is already written in such a way that it can be executed for different git refs:
ghc/.github/workflows/reusable-release.yml
Lines 6 to 8 in d74b932
ghc/.github/workflows/reusable-release.yml
Lines 80 to 87 in d74b932
ghc/.github/workflows/release.yml
Lines 18 to 22 in d74b932