8
8
[ ![ Chat] [ chat-badge ]] [ chat ]
9
9
10
10
[ ** unified** ] [ unified ] plugin to ignore unrelated messages.
11
- Currently works in PRs on Travis.
11
+ Currently works in PRs on Travis and GitHub Actions .
12
12
13
13
When working with natural language, having tools that check cumbersome tasks
14
14
can be very useful (think [ alex] [ ] or [ retext] [ ] plugins).
@@ -18,9 +18,9 @@ false positives.
18
18
It’s possible to add a long list of exceptions, but this soon becomes
19
19
unmanageable.
20
20
21
- This plugin solves that problem, when in Travis , by ignoring any messages on
21
+ This plugin solves that problem, when in CIs , by ignoring any messages on
22
22
unchanged lines.
23
- When run outside Travis, this plugin doesn’t do anything.
23
+ When run outside supported CIs this plugin doesn’t do anything.
24
24
25
25
## Install
26
26
@@ -91,7 +91,9 @@ script:
91
91
# ...
92
92
```
93
93
94
- When run in Travis, we’ll see the following printed on ** stderr** (4).
94
+ (or in an equivalent GH Actions workflow file)
95
+
96
+ When run in CI, we’ll see the following printed on ** stderr** (4).
95
97
Note that ` an an ` on L1 is not included because it’s unrelated to this PR.
96
98
97
99
``` txt
@@ -102,7 +104,7 @@ readme.md
102
104
⚠ 2 warnings
103
105
```
104
106
105
- As there are messages, the build exits with ` 1 ` , thus failing Travis .
107
+ As there are messages, the build exits with ` 1 ` , thus failing CI .
106
108
The user sees this and amends the PR to the following:
107
109
108
110
``` diff
@@ -126,8 +128,9 @@ an error, but it’s unrelated to the PR.
126
128
Ignore messages emitted by plugins before ` diff ` for lines that did not change.
127
129
128
130
There are no options.
129
- If there’s a ` TRAVIS_COMMIT_RANGE ` environment variable this plugin runs,
130
- otherwise it does nothing.
131
+ If there’s a ` TRAVIS_COMMIT_RANGE ` , ` GITHUB_BASE_REF ` and ` GITHUB_HEAD_REF ` , or
132
+ ` GITHUB_SHA ` environment variable, then this plugin runs, otherwise it does
133
+ nothing.
131
134
132
135
###### TODO
133
136
0 commit comments