Browse Source

fix: run only when MD files were changed

feat/clarity-onboarding-improvements
Alexander Graebe 4 years ago
committed by Alexander Graebe
parent
commit
acc53fd926
  1. 4
      .github/workflows/stylecheck-prs.yml

4
.github/workflows/stylecheck-prs.yml

@ -2,6 +2,8 @@ name: stylecheck
on:
pull_request:
branches: [master]
paths:
- '**.md'
jobs:
stylecheck:
@ -20,7 +22,7 @@ jobs:
with:
styles: https://github.com/errata-ai/Google/releases/latest/download/Google.zip
config: https://raw.githubusercontent.com/blockstack/docs/master/.vale/vale.ini
files: "${{ steps.get_changed_files.outputs.all }}"
files: '${{ steps.get_changed_files.outputs.all }}'
onlyAnnotateModifiedLines: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Loading…
Cancel
Save