Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Latest commit

 

History

History
40 lines (26 loc) · 1.15 KB

README.md

File metadata and controls

40 lines (26 loc) · 1.15 KB

This repository is archived.

Pull Request Exclusion Action for GitHub Actions

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.

Building and testing

Install dependencies

$ yarn install

Build and test

$ yarn run all

Usage

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:

Security

See CONTRIBUTING for more information.

License

This project is licensed under the Apache-2.0 License.