Skip to content

Commit

Permalink
Merge pull request #9 from awendt/debug-reassigned-prs
Browse files Browse the repository at this point in the history
feat: output each PR assigned to someone else when verbose
  • Loading branch information
awendt authored Nov 9, 2024
2 parents 6f12588 + 3a02215 commit 01b709a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const doWork = async () => {
if (options.cleanupReassignedPrs) {
const someoneElseAssigned = reducer.notificationsForReassignedPRs;
console.debug("%d notifications for PRs assigned to someone else, unsubscribing…", someoneElseAssigned.length);
someoneElseAssigned.forEach(notification => console.debug(notification.pull_request.html_url));
await github.unsubscribe(someoneElseAssigned);
}

Expand Down

0 comments on commit 01b709a

Please sign in to comment.