diff --git a/.github/workflows/on_pr_comment.yml b/.github/workflows/on_pr_comment.yml index 92f3bbcc9173..c45c352a38b4 100644 --- a/.github/workflows/on_pr_comment.yml +++ b/.github/workflows/on_pr_comment.yml @@ -34,8 +34,6 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - with: - fetch-depth: 0 - name: Dispatch main workflow id: dispatch @@ -53,11 +51,11 @@ jobs: local created_after=$3 echo $( # https://cli.github.com/manual/gh_run_list - # https://docs.github.com/en/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates gh run list \ --workflow $workflow_name \ --event workflow_dispatch \ --branch $ref_name \ + # https://docs.github.com/en/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates --created ">$created_after" \ --json databaseId ) @@ -83,10 +81,14 @@ jobs: # started a workflow in parallel with us on the same branch. echo "Fetching workflow run id…" - run_id=$(get_latest_workflow_run $workflow_name $ref_name $now | jq -r '.[0].databaseId') + run_info=$(get_latest_workflow_run $workflow_name $ref_name $now) + echo $run_info + run_id=$(echo $run_info | jq -r '.[0].databaseId') while [ -z $run_id ] do - run_id=$(get_latest_workflow_run $workflow_name $ref_name $now | jq -r '.[0].databaseId') + run_info=$(get_latest_workflow_run $workflow_name $ref_name $now) + echo $run_info + run_id=$(echo $run_info | jq -r '.[0].databaseId') sleep 1 done echo "Workflow run: https://github.com/rerun-io/rerun/actions/runs/$run_id" diff --git a/README.md b/README.md index c1afc3026426..02e832749897 100644 --- a/README.md +++ b/README.md @@ -130,6 +130,3 @@ facilitates the tool's discovery by other researchers. 1. Download the correct `.whl` from [GitHub Releases](https://github.com/rerun-io/rerun/releases) 2. Run `pip install rerun_sdk<…>.whl` (replace `<…>` with the actual filename) 3. Test it: `rerun --version` - - -### Test