Skip to content

Commit c76df03

Browse files
committed
Exempt github actions from copyright notices (#13)
1 parent fa4b072 commit c76df03

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

scripts/add_copyright.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ def main(arg_list=None):
4242
path = Path(filename)
4343
if (
4444
not path.is_file() # skip non-files
45+
or ".github" in path.parts # skip github workflows
4546
or path.name in ["lextab.py", "parsetab.py"] # skip generated PLY files
4647
or "schema_data" in path.parts # skip schema_data/* (xml from elsewhere)
4748
# skip test fixtures

0 commit comments

Comments
 (0)