From f49ef513c0afda4507a7ee6516e03e7db851a92c Mon Sep 17 00:00:00 2001 From: James Taylor Date: Fri, 6 Dec 2024 18:08:44 +0000 Subject: [PATCH] Update github-repo-stats.yml workflow Fix repos matrix again Signed-off-by: James Taylor --- .github/workflows/github-repo-stats.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/github-repo-stats.yml b/.github/workflows/github-repo-stats.yml index 108e74f822..0b31f13b43 100644 --- a/.github/workflows/github-repo-stats.yml +++ b/.github/workflows/github-repo-stats.yml @@ -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) }}