chore: only lint changed READMEs (#11677)

This commit is contained in:
Joshua Powers 2022-08-17 07:34:26 -06:00 committed by GitHub
parent e0a6b02289
commit 0568006fa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -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 }}