Commit f259c831 authored by nanahira's avatar nanahira

add fail_if_banned_files

parent c19c262d
Pipeline #37605 failed with stages
in 1 minute and 23 seconds
......@@ -7,6 +7,20 @@ stages:
variables:
GIT_DEPTH: "1"
fail_if_banned_files:
stage: prepare
dependencies: []
tags:
- linux
script: |
banned_files=(script/procedure.lua script/utility.lua script/constant.lua)
for file in "${banned_files[@]}"; do
if [ -f "$file" ]; then
echo "Banned file found: $file"
exit 1
fi
done
merge_databases:
stage: prepare
dependencies: []
......
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