From fdeb4cf050b3be786be66e6bbfe3b7e0749fbda5 Mon Sep 17 00:00:00 2001 From: Salvydas Lukosius Date: Sat, 24 Feb 2024 04:39:17 +0000 Subject: [PATCH] feat: Update Git attributes and added security tools to trunk.yaml 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 --- .gitattributes | 3 +++ .trunk/trunk.yaml | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitattributes b/.gitattributes index 05730d3..b88ef9b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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 diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml index ba65e14..692acb6 100644 --- a/.trunk/trunk.yaml +++ b/.trunk/trunk.yaml @@ -10,9 +10,9 @@ lint: disabled: - checkov - yamllint + - trufflehog + - trivy enabled: - - trivy@0.49.1 - - trufflehog@3.67.7 - actionlint@1.6.26 - git-diff-check - prettier@3.2.5