sync-branches
sync-branches copied to clipboard
Gracefully handle the collaborator missing error
Changes
- Wrap the collaborator review request API call with try catch
- Just log the error instead of failing the action status
- It creates the PR despite before but the action run status is set to error which is a bit annoying. So, error info is shown instead which gives info about the handling
Test
- Messages shown when error
Before
https://github.com/samirsilwal/sync-branches/actions/runs/11310223756/job/31455026490