Skip to content

Commit 0c7df2c

Browse files
committed
update todo of cleanup
1 parent 4c071e5 commit 0c7df2c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/commit-review-cleanup.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
name: Commit Review Cleanup
22

3-
# TODO: does not get trigger for some reason
43
on:
54
pull_request_review:
65
types: [submitted]
@@ -24,7 +23,7 @@ jobs:
2423
BRANCHES=$(gh api --method PATCH $PR_URL -f state='closed' | jq '.base.ref,.head.ref')
2524
echo "Cleaning up branches ${BRANCHES[@]}"
2625
27-
for BRANCH in ${BRANCHES[@]}; do
26+
for BRANCH in ${BRANCHES[@]}; do # TODO: fails to delete
2827
git push origin --delete $BRANCH
2928
done
3029
fi

0 commit comments

Comments
 (0)