Commit 83990d64 authored by Mitar's avatar Mitar

Ignore .gitattributes file.

parent 9923e092
Pipeline #97807622 failed with stages
in 22 minutes and 43 seconds
......@@ -355,6 +355,10 @@ def curl_progress(download_total, downloaded, upload_total, uploaded):
def validate_file(file_path):
print(">>> Validating file '{file_changed}'.".format(file_changed=file_path), flush=True)
if os.path.basename(file_path) == '.gitattributes':
print(">>> File is '.gitattributes'.", flush=True)
return None
match = PIPELINE_REGEX.search(file_path)
if match:
print(">>> File is a pipeline.", flush=True)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment