From 8721af229d2eb5c2c24368e971e57cf33004cc77 Mon Sep 17 00:00:00 2001 From: Eduard Veit Date: Fri, 5 Nov 2021 20:56:39 +0100 Subject: [PATCH] =?UTF-8?q?dev:=20=E2=9C=A8=20add=20github=20action=20with?= =?UTF-8?q?=20shellcheck=20for=20PRs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/shellcheck.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/shellcheck.yml diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml new file mode 100644 index 0000000..7ee69ac --- /dev/null +++ b/.github/workflows/shellcheck.yml @@ -0,0 +1,16 @@ +name: Run shellcheck with reviewdog +on: [pull_request] +jobs: + shellcheck: + name: runner / shellcheck + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: shellcheck + uses: reviewdog/action-shellcheck@v1.9.0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + reporter: github-pr-review + path: "." + pattern: "*.sh" + exclude: "./.git/*" \ No newline at end of file