-
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 [neveredit] rule to protect write once files from modification (#43)
Hackathon project - to add new rule to protect files that should not get edited. other things: By guidance since we build an executable cargo.lock should be checked in. so i checked that in.
- Loading branch information
1 parent
9125c2a
commit 405849c
Showing
16 changed files
with
1,857 additions
and
77 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
# Configuration for trunk toolbox. Generate default by calling 'trunk-toolbox genconfig' | ||
|
||
[ifchange] | ||
enabled = true | ||
enabled = false | ||
|
||
[donotland] | ||
enabled = true | ||
enabled = false | ||
|
||
[todo] | ||
enabled = false | ||
|
||
[neveredit] | ||
enabled = true | ||
paths = [] # paths to protect from modification |
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ version: 0.1 | |
plugins: | ||
sources: | ||
- id: trunk | ||
ref: v1.4.3 | ||
ref: v1.6.2 | ||
uri: https://github.com/trunk-io/plugins | ||
runtimes: | ||
enabled: | ||
|
@@ -11,13 +11,13 @@ runtimes: | |
- [email protected] | ||
- [email protected] | ||
cli: | ||
version: 1.20.1 | ||
version: 1.22.3 | ||
api: | ||
address: api.trunk-staging.io:8443 | ||
|
||
tools: | ||
enabled: | ||
- gh@2.44.1 | ||
- gh@2.55.0 | ||
runtimes: | ||
- rust | ||
lint: | ||
|
@@ -32,7 +32,7 @@ lint: | |
batch: true | ||
success_codes: [0] | ||
read_output_from: tmp_file | ||
disable_upstream: true | ||
disable_upstream: false | ||
version_command: | ||
parse_regex: ${semver} | ||
run: trunk-toolbox --version | ||
|
@@ -45,21 +45,21 @@ lint: | |
- tests/** | ||
|
||
enabled: | ||
- shellcheck@0.9.0 | ||
- shellcheck@0.10.0 | ||
- [email protected] | ||
- trunk-toolbox@0.2.0 | ||
- [email protected].26 | ||
- trivy@0.49.1 | ||
- trufflehog@3.68.2 | ||
- oxipng@9.0.0 | ||
- trunk-toolbox@0.3.2 | ||
- [email protected].238 | ||
- trivy@0.54.1 | ||
- trufflehog@3.81.9 | ||
- oxipng@9.1.2 | ||
- [email protected] | ||
- git-diff-check | ||
- taplo@0.8.1 | ||
- actionlint@1.6.27 | ||
- taplo@0.9.3 | ||
- actionlint@1.7.1 | ||
- [email protected] | ||
- [email protected].2 | ||
- markdownlint@0.39.0 | ||
- prettier@3.2.5 | ||
- [email protected].4 | ||
- markdownlint@0.41.0 | ||
- prettier@3.3.3 | ||
- [email protected] | ||
actions: | ||
enabled: | ||
|
Oops, something went wrong.