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
Copy file name to clipboardExpand all lines: README.md
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ nissuer comes with a default configuration, but you can override certain behavio
10
10
11
11
### Handle unhelpful comments
12
12
13
-
- nissuer can hide "+1", "same issue", etc. comments on issues (partially based on [Refined GitHub](https://github.com/refined-github/refined-github/blob/c864a20b57bb433aaf3952f88d83c9fc481ae6ff/source/helpers/is-low-quality-comment.ts#L2-L3))
13
+
- nissuer can hide "+1", "same issue", etc. comments on issues (partially based on [Refined GitHub](https://github.com/refined-github/refined-github/blob/c864a20b57bb433aaf3952f88d83c9fc481ae6ff/source/helpers/is-low-quality-comment.ts#L2-L3)). It won't hide comments from the repo organization members.
14
14
- nissuer can also update the hidden comment with a note from the maintainers, explaining to the user why the comment was hidden. This is used for education purposes, so hopefully the user will be more considerate in the future.
15
15
16
16
| Input | Description | Default Value |
@@ -21,14 +21,16 @@ nissuer comes with a default configuration, but you can override certain behavio
21
21
### Validate reproduction URLs
22
22
23
23
- nissuer can close/comment/label/lock issues that do not have a valid reproduction URL
24
+
- nissuer validates the returned status code of a reproduction URL (for example a private GitHub repository will not be considered valid)
|`reproduction-comment`| Either a string or a path to a .md file inside the repository. |`.github/invalid-reproduction.md`|
28
-
|`reproduction-hosts`| Comma-separated list of hostnames allowed for reproductions. |`github.com`|
29
-
|`reproduction-invalid-label`| Label to apply to issues without a valid reproduction. |`invalid-reproduction`|
30
-
|`reproduction-issue-labels`| Comma-separated list of issue labels. If configured, only verify reproduction URLs of issues with one of these labels present. ||
31
-
|`reproduction-link-section`| A regular expression string with "(.\*)" matching a valid URL in the issue body. The result is trimmed. |`### Link to reproduction(.*)### To reproduce`|
|`reproduction-comment`| Either a string or a path to a .md file inside the repository. |`.github/invalid-reproduction.md`|
29
+
|`reproduction-hosts`| Comma-separated list of hostnames allowed for reproductions. |`github.com`|
30
+
|`reproduction-blocklist`| Comma-separated list of regular expression string that are not allowed for reproductions. (Eg.: "github.com/.\*/fork-of-non-reproduction"') ||
31
+
|`reproduction-invalid-label`| Label to apply to issues without a valid reproduction. |`invalid-reproduction`|
32
+
|`reproduction-issue-labels`| Comma-separated list of issue labels. If configured, only verify reproduction URLs of issues with one of these labels present. ||
33
+
|`reproduction-link-section`| A regular expression string with "(.\*)" matching a valid URL in the issue body. The result is trimmed. |`### Link to reproduction(.*)### To reproduce`|
32
34
33
35
### Label Management
34
36
@@ -76,7 +78,7 @@ jobs:
76
78
runs-on: ubuntu-latest
77
79
steps:
78
80
- name: Nissuer
79
-
uses: balazsorban44/nissuer@1.7.3
81
+
uses: balazsorban44/nissuer@1.8.0
80
82
```
81
83
82
84
Add a comment file (by default we look for `.github/invalid-reproduction.md`):
Copy file name to clipboardExpand all lines: action.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ inputs:
19
19
description: 'Comma-separated list of hostnames that are allowed for reproductions. Example: "github.com,codesandbox.io"'
20
20
default: github.com
21
21
reproduction-blocklist:
22
-
description: 'Comma-separated list of URLs that are not allowed for reproductions. They can be regular expression string. Example: "github.com/.*/fork-of-example"'
22
+
description: 'Comma-separated list of regular expression string that are not allowed for reproductions. Example: "github.com/.*/fork-of-example"'
23
23
default: ''
24
24
reproduction-invalid-label:
25
25
description: 'Label to apply to issues without a valid reproduction. Example: "invalid-reproduction"'
0 commit comments