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