Skip to content

Commit afe6971

Browse files
Have the ghc-head job checkout pr branches or ci/ghc-dev
1 parent 8ecbfbf commit afe6971

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ghc-head.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ jobs:
3333
steps:
3434
- uses: actions/checkout@v4
3535
with:
36-
ref: ci/ghc-head
36+
# Checkout ci/ghc-head on scheduled runs, PR branch otherwise
37+
ref: ${{ github.event_name == 'schedule' && 'ci/ghc-head' || github.event.pull_request.head.ref }}
3738
submodules: true
3839
- name: Install ghcup
3940
run: |

0 commit comments

Comments
 (0)