forked from ghc/ghc
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
In order to "bisect" a PR with multiple commits, we could do the following:
- add a
bisectlabel - 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:
ghc/.github/workflows/reusable-release.yml
Lines 6 to 8 in d74b932
| branches: | |
| required: true | |
| type: string |
ghc/.github/workflows/reusable-release.yml
Lines 80 to 87 in d74b932
| build-linux: | |
| name: Build linux binaries | |
| runs-on: ubuntu-latest | |
| needs: ["tool-output"] | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| branch: ${{ fromJSON(inputs.branches) }} |
ghc/.github/workflows/release.yml
Lines 18 to 22 in d74b932
| jobs: | |
| release-workflow: | |
| uses: ./.github/workflows/reusable-release.yml | |
| with: | |
| branches: '["${{ github.ref }}"]' |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request