Skip to content

Commit

Permalink
chore: only lint changed READMEs (#11677)
Browse files Browse the repository at this point in the history
  • Loading branch information
powersj committed Aug 17, 2022
1 parent e0a6b02 commit 0568006
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 0568006

Please sign in to comment.