fix: checkout of head commit during PR creation

* according to https://github.com/actions/checkout/issues/61#issuecomment-561363340
This commit is contained in:
Ahmed Zetao Yang
2020-10-10 22:15:19 +08:00
committed by borgmanJeremy
parent eae9c97b23
commit c5b6fe3957

View File

@@ -121,7 +121,7 @@ jobs:
uses: actions/checkout@v1
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
ref: refs/pull/${{ github.event.number }}/head
- name: Set env & Print flameshot version
shell: bash
run: |