Skip to content

Commit

Permalink
feat: Update Git attributes and added security tools to trunk.yaml
Browse files Browse the repository at this point in the history
Adjusted Git attributes to include text eol=lf for functions/*, and added security tools trufflehog and trivy to trunk.yaml linting configuration. These changes enhance file handling consistency and introduce additional security scans to the workflow.

Signed-off-by: Salvydas Lukosius <[email protected]>
  • Loading branch information
ss-o committed Feb 24, 2024
1 parent 2b353b4 commit fdeb4cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@
*.fish text eol=lf
*.sh text eol=lf
*.zsh text eol=lf
functions/.* text eol=lf
functions/* text eol=lf

# These are explicitly windows files and should use crlf
*.bat text eol=crlf
*.cmd text eol=crlf
Expand Down
4 changes: 2 additions & 2 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ lint:
disabled:
- checkov
- yamllint
- trufflehog
- trivy
enabled:
- [email protected]
- [email protected]
- [email protected]
- git-diff-check
- [email protected]
Expand Down

0 comments on commit fdeb4cf

Please sign in to comment.