diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml new file mode 100644 index 0000000..598e6d4 --- /dev/null +++ b/.github/workflows/reviewdog.yml @@ -0,0 +1,23 @@ +name: reviewdog +on: [pull_request] +permissions: + contents: read + id-token: write + issues: write + pull-requests: write +jobs: + shellcheck: + name: runner / shellcheck + 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 # Change reporter. + path: "." # Optional. + #pattern: "*.sh" # Optional. + exclude: "./.git/*" # Optional. + check_all_files_with_shebangs: "true" # Optional. + fail_on_error: "true"