32 lines
750 B
YAML
32 lines
750 B
YAML
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"
|