Skip to content

Commit

Permalink
Update github-repo-stats.yml workflow
Browse files Browse the repository at this point in the history
Fix repos matrix again

Signed-off-by: James Taylor <[email protected]>
  • Loading branch information
jt-nti committed Dec 6, 2024
1 parent 1c08455 commit f49ef51
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/github-repo-stats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,14 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
run: |
echo "repos=$(gh search repos --owner=cicsdev --visibility=public --archived=false --limit=99 --json=name --jq=[.[].name])" >> "$GITHUB_OUTPUT"
set -eux
REPOS=$(gh search repos --owner=cicsdev --visibility=public --archived=false --limit=99 --json=name --jq=[.[].name])
echo "repos=$REPOS" >> "$GITHUB_OUTPUT"
run-ghrs-with-matrix:
name: github-repo-stats
runs-on: ubuntu-latest
needs: define-matrix
strategy:
matrix:
statsRepo: ${{ fromJSON(needs.define-matrix.outputs.repos) }}
Expand Down

0 comments on commit f49ef51

Please sign in to comment.