Skip to content

Commit

Permalink
Update cleanup_branches_and_issues.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasjucker authored Dec 6, 2024
1 parent ed83b0b commit 301c7bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cleanup_branches_and_issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
BRANCHES=$(git branch -r | grep "$PATTERN" | sed 's/origin\///')
for BRANCH in $BRANCHES; do
echo "branch $BRANCH"
# Get the last commit date of the branch
LAST_COMMIT_DATE=$(git log -1 --format=%ct origin/$BRANCH)
AGE=$((NOW - LAST_COMMIT_DATE))
Expand Down

0 comments on commit 301c7bb

Please sign in to comment.