From d98d79b7d8e43fa0a48fa898745fc945682e28eb Mon Sep 17 00:00:00 2001 From: mahula Date: Thu, 6 Jul 2023 14:27:33 +0200 Subject: [PATCH] try to get pr number from github event --- .github/workflows/test_e2e.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/test_e2e.yml b/.github/workflows/test_e2e.yml index 05e15824b..508434a4a 100644 --- a/.github/workflows/test_e2e.yml +++ b/.github/workflows/test_e2e.yml @@ -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