try to get pr number from github event

This commit is contained in:
mahula 2023-07-06 14:27:33 +02:00
parent 3979bf48e8
commit d98d79b7d8

View File

@ -17,6 +17,15 @@ jobs:
echo $GITHUB_REF
echo $GITHUB_REF | awk 'BEGIN { FS = "/" } ; { print $3 }'
- uses: jwalton/gh-find-current-pr@v1
id: find-pr
with:
state: open
- run: echo "Your PR is ${PR}"
if: success() && steps.findPr.outputs.number
env:
PR: ${{ steps.findPr.outputs.pr }}
# end-to-end-tests:
# name: End-to-End Tests
# runs-on: ubuntu-latest