Commit 06d3562
authored
feat: support squash commit workflow by linting PR (#6)
Support the squash-merge workflow by linting the commit that would be automatically created by the "Squash and merge" button.
Extends the existing functionality where we lint the commits in the pull request: if this fails, we attempt to lint the pull request as if it were a squash merge commit, and if that succeeds then pass the commitlint step.1 parent 30f06e1 commit 06d3562
File tree
5 files changed
+270
-83
lines changed- src
5 files changed
+270
-83
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
| 34 | + | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
| |||
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
43 | | - | |
| 46 | + | |
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
| |||
0 commit comments