Skip to content
Snippets Groups Projects

ci: add job check_labels

Merged Éloïs requested to merge elois-ci-check-mr-labels into master
2 files
+ 27
0
Compare changes
  • Side-by-side
  • Inline

Files

+ 17
0
 
#!/usr/bin/env bash
 
 
RN_LABELS=(
 
RN-binary
 
RN-runtime
 
RN-silent
 
)
 
 
for RN_LABEL in ${RN_LABELS[@]}; do
 
if [[ "$1" == *"$RN_LABEL"* ]]; then
 
echo "exit 0"
 
exit 0
 
fi
 
done
 
 
echo "exit 1"
 
exit 1
Loading