diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml new file mode 100644 index 0000000..7289fe8 --- /dev/null +++ b/.github/workflows/reviewdog.yml @@ -0,0 +1,31 @@ +on: + pull_request: + push: + +name: 'reviewdog' + +jobs: + shellcheck: + name: Shellcheck testing + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: shellcheck + uses: reviewdog/action-shellcheck@v1 + with: + github_token: ${{ secrets.github_token }} + reporter: github-pr-review + path: "." # Optional. + pattern: "*.sh" # Optional. + exclude: "./.git/*" # Optional. + misspell: + name: Check spelling + runs-on: ubuntu-latest + steps: + - name: spelling or typos + uses: actions/checkout@v4 + - name: misspell + uses: reviewdog/action-misspell@v1 + with: + github_token: ${{ secrets.github_token }} + locale: "US"