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 56fdac8 commit 227c180
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/check-stale-branches.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ jobs:
run: |
three_months_ago=$(date -v-${{ env.stale-branch-threshold }} '+%Y-%m-%d')
echo "Branches: $branches"
for branch in $(jq -r '.[]' <<< '${{ steps.branches.outputs.branches }}'); do
# Search commits in the branch where the author date is older than 3 months
commits=$(gh search commits --author-date="<${three_months_ago}" --repo dvsa/cvs-svc-app-logs --branch $branch --limit 100 --json commit,committerDate --jq '.[] | "\(.commit.oid) \(.committerDate)"')
Expand Down

0 comments on commit 227c180

Please sign in to comment.