Skip to content

Add github workflows #1

Add github workflows

Add github workflows #1

Workflow file for this run

name: reviewdog
on: [pull_request]
jobs:
# Use shellcheck to lint shell scripts
shellcheck:
name: runner / shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: shellcheck
uses: reviewdog/action-shellcheck@6e0e63d1750d02d761b3df0f2c5ba9f9ac4a9ed7 # v1.29.0
with:
github_token: ${{ secrets.github_token }}
# Use misspell to correct spelling mistakes
misspell:
name: runner / misspell
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: misspell
uses: reviewdog/action-misspell@18ffb61effb93b47e332f185216be7e49592e7e1 # v1.26.1
with:
github_token: ${{ secrets.github_token }}
locale: "US"
# Use yamllint to lint yaml files
yamllint:
name: check / yamllint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: yamllint
uses: reviewdog/action-yamllint@1dca3ad811867be18fbe293a9818d715a6c2cd46 # v1.20.0
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
fail_level: any
yamllint_flags: '-d "{extends: default, rules: {truthy: disable}}" .'