Added reviewdog/shellcheck to CI via Github Actions on changed shell scripts in PRs (#7795)
James Mills committed
Jan 21, 2020 at 09:10 UTC
698a6fa34cc6640c96d5358d91011a071bc404bd
1 file changed
+16
.github/workflows/reviewdog.yml
new
+16
@@ -0,0 +1,16 @@
1
+name: reviewdog
2
+on: [pull_request]
3
+jobs:
4
+ shellcheck:
5
+ name: runner / shellcheck
6
+ runs-on: ubuntu-latest
7
+ steps:
8
+ - uses: actions/checkout@v1
9
+ - name: shellcheck
10
+ uses: reviewdog/action-shellcheck@v1
11
+ with:
12
+ github_token: ${{ secrets.GITHUB_TOKEN }}
13
+ reporter: github-pr-check
14
+ path: "."
15
+ pattern: "*.sh*"
16
+ exclude: "./.git/*"