I have a probot app that merges pull requests once all CI statuses succeed.
Is closing via API supposed to behave as closing via web?
Solved! Solved! Go to Solution.
The mystery has been solved 🎉
After playing back-and-forth, even trying some non-sense stuff. I found the problem!
The bot needs issue write permissions, otherwise closing issues using keywords will "fail silently" (╯°□°)╯︵ ┻━┻
Thanks a lot for being here, we appreciate you coming back to share your solution.
Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!