Skip to content

Commit 048de34

Browse files
authored
Simplify the filters used to detect changed files (#1275)
Some of the patterns were needlessly complicated or redundant. This simplifies them.
1 parent 6300ec1 commit 048de34

1 file changed

Lines changed: 8 additions & 15 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -114,31 +114,24 @@ jobs:
114114
# The outputs will be variables named "foo_files" for a filter "foo".
115115
filters: |
116116
ci:
117-
- './.github/workflows/**'
118-
- './check/**'
119-
- './dev_tools/**'
117+
- '.github/workflows/**'
118+
- 'check/**'
119+
- 'dev_tools/**'
120120
python:
121121
- '**/*.py'
122122
- 'dev_tools/conf/**'
123123
- 'dev_tools/requirements/**/*.txt'
124124
- 'docs/**/*-requirements.txt'
125-
- 'docs/**/requirements.txt'
126125
- 'pyproject.toml'
127126
gha:
128-
- added|modified:
129-
- './.github/workflows/*.yaml'
127+
- '.github/workflows/*.yaml'
130128
yaml:
131-
- added|modified:
132-
- '*.cff'
133-
- '.*.yaml'
134-
- '.github/*.yaml'
135-
- 'docs/**/*.yaml'
129+
- '*.cff'
130+
- '**/*.yaml'
136131
json:
137-
- added|modified:
138-
- '**/*.json'
132+
- '**/*.json'
139133
docker:
140-
- '**/dockerfile'
141-
- '**/Dockerfile'
134+
- '**/[Dd]ockerfile'
142135
shell:
143136
- '**/*.sh'
144137
- 'check/*'

0 commit comments

Comments
 (0)