fix: workflow pr link

This commit is contained in:
LTakacs 2022-04-19 17:44:53 +02:00
parent ef87c03a7e
commit 4c08a9ed58

View file

@ -6,17 +6,12 @@ jobs:
send_mail:
runs-on: ubuntu-latest
steps:
- name: Get PR Number
uses: jwalton/gh-find-current-pr@v1
id: findPr
with:
state: open
- name: Create mail body 📝
run: |
MY_STRING=$(cat << EOF
New Pull Request to Review on ${{ github.repository }}
https://github.com/${{ github.repository }}/pull/${{steps.findPr.outputs.pr}}
https://github.com/${{ github.repository }}/pull/${{github.event.number}}
EOF
)