Skip to content

Commit

Permalink
remove owner from repo names
Browse files Browse the repository at this point in the history
  • Loading branch information
surchs authored Oct 11, 2023
1 parent f08aaf1 commit ee1b128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/add_all_pr_to_project_cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ee1b128

Please sign in to comment.