refactor: Use updated product-config #760
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: reviewdog | |
on: | |
pull_request | |
permissions: | |
contents: read | |
checks: write | |
pull-requests: write | |
issues: write | |
jobs: | |
actionlint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 | |
- uses: reviewdog/action-actionlint@7485c2136bd093d2317a854c72910eebaee35238 # v1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
flake8: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 | |
- uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4 | |
with: | |
python-version: "3.11" | |
- uses: reviewdog/action-flake8@1212bd6f1c67830dcff438cf39522d4b58407e71 # v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
hadolint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 | |
- uses: reviewdog/action-hadolint@7bd0800b7ce35c6d644cde762174e69f18896973 # v1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
markdownlint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 | |
- uses: reviewdog/action-markdownlint@e3a1300e4ead323f710e9b711ee269e0d29ba5ec # v0 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
markdownlint_flags: '-i README.md .' | |
shellcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 | |
- uses: reviewdog/action-shellcheck@50e5e1e2284575f23a1e409d9c0804cdfc4f6e31 # v1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
yamllint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 | |
- uses: reviewdog/action-yamllint@49fe172669b506f0c688207a67b4cf93fee52699 # v1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
misspell: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 | |
- uses: reviewdog/action-misspell@9257f108197b44e37995c98bea6ee4a5b9ffc3b0 # v1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
locale: "US" | |
languagetool: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 | |
- uses: reviewdog/action-languagetool@0551a7dc055989cdd75cb564ce23991717157004 # v1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
level: info | |
patterns: "**/*.md **/*.txt **/*.adoc" |