{"repo":"peter-evans/close-pull","free":true,"listed":false,"github":"https://github.com/peter-evans/close-pull","clone":"git clone https://github.com/peter-evans/close-pull.git","description":"A GitHub action to close a pull request and optionally delete its branch.","language":null,"stars":22,"topics":["close-pull","close-pull-request","github-action","workflow","automation"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Close Pull A GitHub action to close a pull request and optionally delete its branch. Usage :exclamation: Using this action is no longer necessary ----------------------------------------------------------- The same functionality exists in the GitHub CLI. See the documentation here. If you prefer to use this action: Action inputs Name Description Default --- --- --- token GITHUB TOKEN or a repo scoped PAT. GITHUB TOKEN repository The GitHub repository containing the pull request. Current repository pull-request-number The number of the pull request to close. github.event.number comment A comment to make on the pull request before closing. delete-branch Delete the pull request branch. false Note: Deleting branches will fail silently for pull requests to public repositories from forks. Private repositories can be configured to enable workflows from forks to run without restriction. Accessing pull requests in other repositories You can close pull requests in another repository by using a PAT instead of GITHUB TOKEN . The user associated with the PAT must have write access to the repository. License MIT","default_branch":null,"files":null,"tree":[],"storefront":"/r/peter-evans","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/peter-evans/close-pull/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}