Skip to content

Commit 5134c1d

Browse files
Merge pull request #79 from haskell-github-trust/new-hackage-versions
Fix New-Hackage-Versions trailer extraction
2 parents 7f0811d + a76da85 commit 5134c1d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
- name: Extract New-Hackage-Versions git trailer from Renovate
4747
if: ${{ github.event_name == 'pull_request' }}
4848
run: |
49+
git fetch origin ${{ github.event.pull_request.head.sha }}
4950
for constraint in $(git log "--format=%(trailers:key=New-Hackage-Versions,valueonly=true)" ${{ github.event.pull_request.head.sha }} -1)
5051
do
5152
echo "constraints: $constraint" >> cabal.project.local

0 commit comments

Comments
 (0)