Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Rev dorny/path-filter. #3709

Merged
merged 1 commit into from
Aug 13, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 16 additions & 18 deletions .github/workflows/lint-and-test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,24 +33,22 @@ jobs:
# if: ${{ steps.filter.outputs.md == 'true' }}
# This will return true if there's a markdown file that was changed
# in the PR.

# FIXME: See https://github.com/GoogleChrome/web.dev/issues/3705#issuecomment-673654107
# - uses: dorny/paths-filter@v2.2.0
# id: filter
# with:
# filters: |
# md:
# - '**/*.md'
# js:
# - '**/*.js'
# json:
# - '**/*.json'
# yml:
# - '**/*.yml'
# scss:
# - '**/*.scss'
# njk:
# - '**/*.njk'
- uses: dorny/paths-filter@v2.2.1
id: filter
with:
filters: |
md:
- '**/*.md'
js:
- '**/*.js'
json:
- '**/*.json'
yml:
- '**/*.yml'
scss:
- '**/*.scss'
njk:
- '**/*.njk'

# Use the filter to check if files with a specific file type were changed
# in the PR. If they were, run the relevant linters. Otherwise, skip.
Expand Down