Skip to content

Commit 640367c

Browse files
Copilotradical
andcommitted
fix: remove deprecated/legacy comments, fix md lint error
Co-authored-by: radical <1472+radical@users.noreply.github.com>
1 parent 290543b commit 640367c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/actions/check-changed-files/action.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ description: |
99
- patterns_file: Path to a file containing glob patterns (relative to repository root).
1010
Lines starting with '#' and blank lines are ignored.
1111
- patterns: List of regex patterns (multiline string) to match against changed file paths.
12-
Deprecated: prefer patterns_file.
1312
1413
Pattern syntax for patterns_file:
1514
- ** matches any path including directory separators (recursive)
@@ -27,7 +26,7 @@ inputs:
2726
description: 'Path to a file containing glob patterns (relative to repository root)'
2827
required: false
2928
patterns:
30-
description: 'List of regex patterns to match against changed files (deprecated: prefer patterns_file)'
29+
description: 'List of regex patterns to match against changed files'
3130
required: false
3231

3332
outputs:
@@ -110,7 +109,7 @@ runs:
110109
PATTERNS+=("$(glob_to_regex "$line")")
111110
done < "$FULL_PATH"
112111
elif [ -n "$PATTERNS_INPUT" ]; then
113-
# Legacy: read raw regex patterns from the inline input
112+
# Read raw regex patterns from the inline input
114113
while IFS= read -r pattern; do
115114
# Remove leading/trailing whitespace
116115
pattern=$(echo "$pattern" | sed 's/^[[:space:]]*//;s/[[:space:]]*$//')

docs/ci/ci-trigger-patterns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Lines starting with `#` and blank lines are ignored.
2626

2727
### Examples
2828

29-
```
29+
```text
3030
# All Markdown files anywhere in the repo
3131
**.md
3232

0 commit comments

Comments
 (0)