Sometimes, you don't want to accept pull requests on GitHub against some parts of your code. This GitHub action accepts a regular expression as an argument, and if your repository receives a pull request with a pathspec that matches, the pull request will be automatically closed with a message.
Install dependencies
$ yarn install
Build and test
$ yarn run all
You need to add a workflow file into your repository under .github/workflows, just like any other Github Action. This workflow file follows the standard workflow syntax for Github Actions..
A sample workflow file for you to use as a drop-in is in sample_workflow.yml.
NOTE: For stability, you should use the action with either an explicit tag, or commit SHA:
See CONTRIBUTING for more information.
This project is licensed under the Apache-2.0 License.