A GitHub action to automatically close a pull request.
name: Close Pull Request
on:
pull_request_target:
types: [opened]
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: zunalita-admin/close-pull-request@v1
with:
# Optional. Post a issue comment just before closing a pull request.
comment: "We do not accept PRs. If you have any questions, please feel free to contact us."comment- Optional. Post an issue comment just before closing a pull request.