Skip to content

Commit

Permalink
Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
TaylorHalf committed Oct 18, 2024
1 parent 1238009 commit 298dc2f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/check-stale-branches.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,8 @@ jobs:

- name: Test Fetch Commit Dates
run: |
# Example branches array for testing (replace with actual branches output)
branches='["feature/CB2-11814"]'
# Loop through each branch to fetch commit dates
for branch in $(jq -r '.[]' <<< "$branches"); do
# Fetch commit dates for the branch
commit_dates=$(gh api \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
Expand All @@ -74,7 +70,6 @@ jobs:
# three_months_ago=$(date -v-${{ env.stale-branch-threshold }})

# for branch in $(jq -r '.[]' <<< '${{ steps.branches.outputs.branches }}'); do
# # Fetch commit dates for the branch
# commit_dates=$(gh api \
# -H "Accept: application/vnd.github+json" \
# -H "X-GitHub-Api-Version: 2022-11-28" \
Expand Down

0 comments on commit 298dc2f

Please sign in to comment.