From 7501962fdae137cb0bc978e87eaa7a0fcbbb782a Mon Sep 17 00:00:00 2001 From: "Wei-Chun, Chang" Date: Thu, 25 Apr 2024 18:46:51 +0800 Subject: [PATCH] fix pr url Signed-off-by: Wei-Chun, Chang --- .github/workflows/e2e.yaml | 2 +- e2e-tests/smoke-test.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index e3a6215c..41c2c798 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -32,4 +32,4 @@ jobs: ./e2e-tests/smoke-test.sh env: PACKAGES_YAML: ${{ vars.PACKAGES_YAML }} - PR_URL: ${{ github.event.pull_request.url }} + PR_URL: ${{ github.event.pull_request.html_url }} diff --git a/e2e-tests/smoke-test.sh b/e2e-tests/smoke-test.sh index 38a9b629..d550170f 100755 --- a/e2e-tests/smoke-test.sh +++ b/e2e-tests/smoke-test.sh @@ -35,7 +35,7 @@ echo "user_id: 00000000000000000000000000000000" > ~/.recce/profile.yml echo "anonymous_tracking: false" >> ~/.recce/profile.yml # Step 4: recce run -recce run --github-pull-request-url https://github.com/DataRecce/jaffle_shop_duckdb +recce run git_branch=$(cat recce_state.json | jq .git.branch) pr_url=$(cat recce_state.json | jq .pull_request.url)