Skip to contents

Check if yaml file already exist and ask permission for overwriting

Usage

check_if_yaml_exists(dir = ".", file_name = ".gitlab-ci.yml", append = TRUE)

Arguments

dir

directory to scan

file_name

filename to use .gitlab-ci.yml

append

boolean do we allow to append stage to existing ci file. TRUE by default

Examples

# check_if_yaml_exists()