mirror of
https://github.com/maxkratz/community-tutorials.git
synced 2024-09-07 15:32:57 +00:00
fix: workflow pr link
This commit is contained in:
parent
ef87c03a7e
commit
4c08a9ed58
1 changed files with 1 additions and 6 deletions
7
.github/workflows/send_mail.yml
vendored
7
.github/workflows/send_mail.yml
vendored
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue