Skip to content

Support en dash character within copyright year range in license header checking script#158

Merged
shahmishal merged 1 commit into
swiftlang:mainfrom
stmontgomery:license-header-en-dash
Sep 11, 2025
Merged

Support en dash character within copyright year range in license header checking script#158
shahmishal merged 1 commit into
swiftlang:mainfrom
stmontgomery:license-header-en-dash

Conversation

@stmontgomery
Copy link
Copy Markdown
Contributor

This is a small change to the script which implements the "License headers check" GitHub action, so that it accepts en dash characters (–, i.e. ) in addition to the simpler hyphen character (-, i.e. -).

Motivation: We often use en dash in copyright year ranges in swift-testing instead of hyphen.

@shahmishal shahmishal merged commit 271c5b7 into swiftlang:main Sep 11, 2025
68 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants