Basically check that it is a filename that ends in .yml

check_workflow_name(workflow_name)

Arguments

workflow_name

What to name the github action workflow locally. Must have the file extension .yml