Skip to content

Commit

Permalink
chore: only lint changed READMEs
Browse files Browse the repository at this point in the history
Update changed-files library to grab a fix to the glob library that was
outputing all changed files if no file matched the pattern.
  • Loading branch information
powersj committed Aug 15, 2022
1 parent 64c85eb commit aab7a63
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/readme-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ jobs:
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v18.7
uses: tj-actions/changed-files@v26.1
with:
base_sha: ${{ github.event.pull_request.base.sha }}
files: plugins/**/README.md
files: ./plugins/**/README.md
- name: Run readme linter on changed files
if: steps.changed-files.outputs.any_changed == 'true'
run: go run ./tools/readme_linter ${{ steps.changed-files.outputs.all_changed_files }}

0 comments on commit aab7a63

Please sign in to comment.