Commit a2df3a3
authored
GitHub Actions has been running the lint twice in Pull Requests: once
following the `on push` trigger, once following `on pull_request`. This
duplication is currently avoided when running tests by an `if` rule,
which skips if the event isn't a push or the Pull Request doesn't come
from a fork.
This commit removes the `if` rule, and limits the `push` builds to the
`main` branch. That will ensure that merged Pull Requests will trigger a
build, and that any Pull Request activity will also trigger a build.
Being a global rule for the whole build, `standard` will not run twice
anymore.
1 parent afd6d25 commit a2df3a3
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | | - | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments