diff --git a/.github/workflows/add_all_pr_to_project_cron.yml b/.github/workflows/add_all_pr_to_project_cron.yml index 6960ae2..f201b11 100644 --- a/.github/workflows/add_all_pr_to_project_cron.yml +++ b/.github/workflows/add_all_pr_to_project_cron.yml @@ -21,7 +21,7 @@ jobs: GH_TOKEN: ${{ secrets.LAB_PAT }} MAX_REPO: 50 run: | - repo_list=$(gh repo list $GITHUB_REPOSITORY_OWNER --no-archived -L ${MAX_REPO} --json owner,name --jq '.[] | "\(.owner.login)/\(.name)"' | jq -cnR '[inputs | select(length>0)]') + repo_list=$(gh repo list $GITHUB_REPOSITORY_OWNER --no-archived -L ${MAX_REPO} --json owner,name --jq '.[] | "\(.owner.login)/\(.name)"' | jq -cnR '[inputs | select(length>0) | split("/") | .[1]]') echo "repositories=${repo_list}" >> $GITHUB_OUTPUT spawn_repo_jobs: