---
availability: VALIDATED
description: A plugin that closes a pull request in GitHub given the Pull Request
ID.
name: Close a GitHub PR
purple_chat_link: https://marketplace.moveworks.com/purple-chat?conversation=%7B%22messages%22%3A%5B%7B%22parts%22%3A%5B%7B%22richText%22%3A%22%3Cp%3EI+want+to+close+the+latest+pull+request+in+Docs+Repo+by+a+JohnDoe+in+GitHub.%3C%2Fp%3E%22%7D%5D%2C%22role%22%3A%22user%22%7D%2C%7B%22parts%22%3A%5B%7B%22richText%22%3A%22%3Cp%3EOkay%2C+let+me+find+the+latest+pull+request+by+johnDoe+in+Docs+Repo.%3C%2Fp%3E%22%7D%2C%7B%22reasoningSteps%22%3A%5B%7B%22richText%22%3A%22Searching+GitHub+for+pull+requests+by+johnDoe...%22%2C%22status%22%3A%22pending%22%7D%2C%7B%22richText%22%3A%22Found+1+pull+request.%22%2C%22status%22%3A%22success%22%7D%5D%7D%5D%2C%22role%22%3A%22assistant%22%7D%2C%7B%22parts%22%3A%5B%7B%22richText%22%3A%22Here%27s+the+latest+pull+request+by+johnDoe%3A%22%7D%2C%7B%22citations%22%3A%5B%7B%22citationTitle%22%3A%22431%3A+Fix+typo+in+bot+Documentation+%22%2C%22connectorName%22%3A%22github%22%7D%5D%7D%2C%7B%22richText%22%3A%22Are+you+sure+you+want+to+close+this+pull+request%3F%22%7D%2C%7B%22buttons%22%3A%5B%7B%22buttonText%22%3A%22Confirm+Close%22%2C%22style%22%3A%22filled%22%7D%2C%7B%22buttonText%22%3A%22Cancel%22%2C%22style%22%3A%22outlined%22%7D%5D%7D%5D%2C%22role%22%3A%22assistant%22%7D%2C%7B%22parts%22%3A%5B%7B%22richText%22%3A%22Confirm+Close%22%7D%5D%2C%22role%22%3A%22user%22%7D%2C%7B%22parts%22%3A%5B%7B%22richText%22%3A%22Closing+pull+request...%22%7D%2C%7B%22richText%22%3A%22The+pull+request+has+been+closed.%22%7D%2C%7B%22citations%22%3A%5B%7B%22citationTitle%22%3A%22431%3A+Fix+typo+in+bot+Documentation%22%2C%22connectorName%22%3A%22github%22%7D%5D%7D%5D%2C%22role%22%3A%22assistant%22%7D%5D%7D
solution_tags:
- Engineering
systems:
- github
---