-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add warning when config is invalid or not covering any files (#46)
1. Add warnings when the neveredit rule is not configured properly . mostly when it's not checking for anything but you think it should be 2. Updated tool to only emit config issues when checking current (and not the upstream) - allows it to effectively bypass HTL for config issues. 3. Update some deps for security reasons
- Loading branch information
1 parent
405849c
commit 43c64df
Showing
9 changed files
with
283 additions
and
235 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,12 +27,13 @@ lint: | |
files: [ALL] | ||
commands: | ||
- name: lint | ||
run: ${workspace}/toolbox-latest --upstream=${upstream-ref} --results=${tmpfile} ${target} | ||
run: ${workspace}/toolbox-latest --upstream=${upstream-ref} --cache-dir=${cachedir} --results=${tmpfile} ${target} | ||
output: sarif | ||
batch: true | ||
success_codes: [0] | ||
read_output_from: tmp_file | ||
disable_upstream: false | ||
direct_configs: [toolbox.toml] | ||
version_command: | ||
parse_regex: ${semver} | ||
run: trunk-toolbox --version | ||
|
@@ -49,7 +50,6 @@ lint: | |
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
|
Oops, something went wrong.