You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 2, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,9 +32,10 @@ To send us a pull request, please:
32
32
1. Fork the repository.
33
33
2. Modify the source; please focus on the specific change you are contributing. If you also reformat all the code, it will be hard for us to focus on your change.
34
34
3. Ensure local tests pass.
35
-
4. Commit to your fork using clear commit messages.
36
-
5. Send us a pull request, answering any default questions in the pull request interface.
37
-
6. Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation.
35
+
4. Make sure you run `yarn package`! GitHub expects the runnable action code to exist in dist/
36
+
5. Commit to your fork using clear commit messages.
37
+
6. Send us a pull request, answering any default questions in the pull request interface.
38
+
7. Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation.
38
39
39
40
GitHub provides additional document on [forking a repository](https://help.github.com/articles/fork-a-repo/) and
40
41
[creating a pull request](https://help.github.com/articles/creating-a-pull-request/).
Copy file name to clipboardExpand all lines: README.md
+25-5Lines changed: 25 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,31 @@
1
-
## My Project
1
+
#Pull Request Exclusion Action for GitHub Actions
2
2
3
-
TODO: Fill this README out!
3
+
Sometimes, you don't want to accept pull requests on GitHub against some parts
4
+
of your code. This GitHub action accepts a regular expression as an argument,
5
+
and if your repository receives a pull request with a pathspec that matches,
6
+
the pull request will be automatically closed with a message.
4
7
5
-
Be sure to:
8
+
## Building and testing
6
9
7
-
* Change the title in this README
8
-
* Edit your repository description on GitHub
10
+
Install dependencies
11
+
```bash
12
+
$ yarn install
13
+
```
14
+
15
+
Build and test
16
+
```bash
17
+
$ yarn run all
18
+
```
19
+
## Usage
20
+
21
+
You need to add a workflow file into your repository under
22
+
[.github/workflows](./.github/workflows), just like any other Github Action.
23
+
This workflow file [follows the standard workflow syntax for Github Actions.](https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions).
24
+
25
+
A sample workflow file for you to use as a drop-in is in [sample_workflow.yml](./sample_workflow.yml).
26
+
27
+
**NOTE:** For stability, you should use the action with either an
0 commit comments