Skip to content

Commit

Permalink
added commented commands to delete branches from local and origin
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelopv committed Jul 20, 2023
1 parent b4c4db4 commit 6df2887
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/delete-old-branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,7 @@ jobs:
# Check if the branch is stale (not updated in the last 7 days) and list it if so
if [ "$time_difference" -gt "$threshold" ]; then
echo "Stale branch: $branch_name"
# git push --delete origin "$branch_name"
# git branch -d "$branch_name"
fi
done

0 comments on commit 6df2887

Please sign in to comment.