From a0d6070c1ae0060594bd4c92e12aeb170b91f2a2 Mon Sep 17 00:00:00 2001 From: JEEVITHA KANNAN K S Date: Fri, 1 Nov 2024 22:41:36 +0530 Subject: [PATCH] fix: shellcheck errors (#896) --- .github/workflows/shellcheck.yml | 1 + .shellcheckrc | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 .shellcheckrc diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml index 854e9451..bfcc3bc8 100644 --- a/.github/workflows/shellcheck.yml +++ b/.github/workflows/shellcheck.yml @@ -17,6 +17,7 @@ jobs: - name: Run ShellCheck uses: reviewdog/action-shellcheck@v1 with: + shellcheck_flags: '--source-path=${{ github.workspace }}/.shellcheckrc' reviewdog_flags: '-fail-level=any' shfmt: diff --git a/.shellcheckrc b/.shellcheckrc new file mode 100644 index 00000000..0b882066 --- /dev/null +++ b/.shellcheckrc @@ -0,0 +1,2 @@ +external-sources=true +source=core/tabs/common-script.sh \ No newline at end of file