We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c442b93 commit 767cb3aCopy full SHA for 767cb3a
.github/workflows/lint_copyright_years.yml
@@ -96,9 +96,7 @@ jobs:
96
fi
97
98
# Check if file contains stdlib copyright notice:
99
- year=$(grep -oP \
100
- 'Copyright \(c\) \K[0-9]{4}(?= The Stdlib Authors\.)' \
101
- "$file")
+ year=$(grep -o 'Copyright (c) [0-9]\{4\} The Stdlib Authors\.' "$file" | sed -E 's/^Copyright \(c\) ([0-9]{4}) The Stdlib Authors\./\1/' || true)
102
103
if [[ -n "$year" ]]; then
104
if [[ "$year" == "$current_year" ]]; then
0 commit comments