From e25e23ad9e5fe8df6dc3be73efb0ffac175c8ec4 Mon Sep 17 00:00:00 2001 From: Kreyren Date: Tue, 11 Feb 2020 18:59:11 +0000 Subject: [PATCH] PLEASE JUST FUCKING WORK --- .github/workflows/bash.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bash.yml b/.github/workflows/bash.yml index c696775..2e4a6d9 100644 --- a/.github/workflows/bash.yml +++ b/.github/workflows/bash.yml @@ -18,4 +18,4 @@ jobs: - name: Installing dependencies.. run: if ! apt list --installed 2>/dev/null | grep -q ".*shellcheck.*"; then apt install -y shellcheck; fi - name: Linting.. - run: for file in $(git --git-dir="$GITHUB_WORKSPACE/.git" --no-pager diff --name-only origin/master | grep '.*\.bash'); do shellcheck --external-sources --shell=bash "$file";done \ No newline at end of file + run: cd "$GITHUB_WORKSPACE" for file in $(git ls-tree --name-only -r ${{ github.sha }} | grep '.*\.bash'); do shellcheck --external-sources --shell=bash "$file";done \ No newline at end of file