File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -81,15 +81,17 @@ GIT_REPO="https://github.com/DataRecce/jaffle_shop_duckdb.git"
8181GIT_BRANCH=" fix/customer-lifetime-value"
8282
8383git clone --depth 1 --branch $GIT_BRANCH $GIT_REPO
84- ls -al
8584cd jaffle_shop_duckdb || exit
8685
87- echo $GIT_DIR
88- echo
86+ # Hide PR information from GitHub Action
87+ HOLD_GITHUB_EVENT_PATH=" $GITHUB_EVENT_PATH "
88+ unset GITHUB_EVENT_PATH
8989
9090recce summary --cloud | tee recce_summary.md
9191cat ./recce_summary.md | grep -q customers
9292
9393echo " Starting the server (cloud and review mode)..."
9494recce server --cloud --review &
9595check_server_status
96+
97+ export GITHUB_EVENT_PATH=" $HOLD_GITHUB_EVENT_PATH "
Original file line number Diff line number Diff line change @@ -67,13 +67,11 @@ def hosting_repo(remote: str = 'origin'):
6767 # Handle https://github.com/user/repo.git or http://github.com/user/repo.git
6868 remote_repo = '/' .join (origin_url .split ('/' )[- 2 :]).replace ('.git' , '' )
6969
70- print ('remote' , remote_repo )
7170 return remote_repo
7271 except ValueError :
7372 repo = Repo (search_parent_directories = True )
7473 toplevel_dir = repo .git .rev_parse ("--show-toplevel" )
7574
76- print ('top' , toplevel_dir )
7775 return os .path .basename (toplevel_dir )
7876 except InvalidGitRepositoryError :
7977 return None
You can’t perform that action at this time.
0 commit comments