We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6a23de commit 6507ce5Copy full SHA for 6507ce5
.github/workflows/haskell-actions.yml
@@ -31,15 +31,11 @@ jobs:
31
32
- name: Extract New-Versions git trailer from Renovate
33
if: ${{ github.event_name == 'pull_request' }}
34
- env:
35
- GITHUB_SHA: "{{ github.event.pull_request.head.sha }}"
36
run: |
37
if [ ! -f cabal.project ]
38
then echo 'packages: .' > cabal.project
39
fi
40
- echo $GITHUB_SHA
41
- git show $GITHUB_SHA
42
- for constraint in $(git log "--format=%(trailers:key=New-Versions,valueonly=true)" ${GITHUB_SHA}^1..${GITHUB_SHA}^2)
+ for constraint in $(git log "--format=%(trailers:key=New-Versions,valueonly=true)" ${{ github.event.pull_request.head.sha }} -1)
43
do echo "constraints: $constraint" >> cabal.project
44
done
45
cat cabal.project
0 commit comments