-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ci): Add reviewdog implementation (#4)
* commit wip adding reviewdog implementation * bump version in used ci action * add GH token to use with linter * make entrypoint executable * remove filter from reviewdog (not functioning correctly somehow..) * write permissions for action * perms 2 * fail on error * add readme * adjust name * update changelog
- Loading branch information
1 parent
2bb178e
commit 4fdc13e
Showing
6 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Changelog Lint Action | ||
|
||
This GitHub action brings the linter from the [changelog-utils](https://github.com/MalteHerrmann/changelog-utils) | ||
to your CI workflows. | ||
|
||
It's using [reviewdog](https://github.com/reviewdog/reviewdog) to post comments on PR reviews that show any potential | ||
problems with your changelogs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/sh | ||
set -ex | ||
|
||
export REVIEWDOG_GITHUB_API_TOKEN="${INPUT_GITHUB_TOKEN}" | ||
|
||
clu lint | reviewdog -efm="%f:%l: %m" \ | ||
-name="clu" \ | ||
-reporter="github-pr-review" \ | ||
-filter-mode="nofilter" \ | ||
-fail-on-error="true" |