Skip to content

Commit

Permalink
Update check-stale-branches.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshCarter-ops authored Oct 21, 2024
1 parent 0d45fba commit 6c34247
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-stale-branches.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ jobs:
commit_dates=$(gh api -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" \
/repos/dvsa/cvs-svc-app-logs/commits?sha="$branch" --jq '.[].commit.committer.date' 2>/dev/null)
echo "$commit_dates"
for commit_date in $commit_dates; do
[ ("$commit_date" | date) < "$(date -v-3m)" ] && echo "New Commit"
# [ ("$commit_date" | date) < "$(date -v-3m)" ] && echo "New Commit"
echo "$commit_date"
done
# Print commit dates
Expand Down

0 comments on commit 6c34247

Please sign in to comment.