From 687e4b02327733c957bedf9c4ffd12b9baf6abfa Mon Sep 17 00:00:00 2001 From: TaylorHalf Date: Fri, 18 Oct 2024 15:55:40 +0100 Subject: [PATCH] Testing --- .github/workflows/check-stale-branches.yaml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/check-stale-branches.yaml b/.github/workflows/check-stale-branches.yaml index 8c6268f..09bc86b 100644 --- a/.github/workflows/check-stale-branches.yaml +++ b/.github/workflows/check-stale-branches.yaml @@ -49,13 +49,8 @@ jobs: - name: Test Fetch Commit Dates for All Branches run: | - # Use the branches output from the previous step - branches=${{ steps.branches.outputs.branches }} - - echo "Raw branches output: $branches" - - # Loop through each branch to fetch commit dates - for branch in $(jq -r '.[]' <<< "$branches"); do + + for branch in $(jq -r '.[]' <<< '${{ steps.branches.outputs.branches }}'); do commit_dates=$(gh api \ -H "Accept: application/vnd.github+json" \ -H "X-GitHub-Api-Version: 2022-11-28" \