22 lines
462 B
YAML
22 lines
462 B
YAML
name: Style check
|
|
|
|
on:
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
style-job:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Run Vale
|
|
uses: errata-ai/vale-action@reviewdog
|
|
env:
|
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
|
with:
|
|
fail_on_error: false
|
|
reporter: github-pr-check
|
|
filter_mode: file
|
|
vale_flags: "--no-exit" |