Files
dolt/.github/scripts/performance-benchmarking/validate-commentor.sh
James Cor 8814ea1844 update allowed benchmarkers list (#9570)
Co-authored-by: James Cor <james@dolthub.com>
2025-07-23 14:59:34 -07:00

17 lines
393 B
Bash
Executable File

#!/bin/bash
set -e
if [[ $# -ne 1 ]]; then
echo "Usage: ./validate-commentor.sh COMMENTOR"
exit 1
fi
validcommentors="coffeegoddd bheni Hydrocharged reltuk tbantle22 timsehn zachmu nicktobey fulghum macneale4 jycor angelamayxie elianddb"
contains() {
[[ $1 =~ (^|[[:space:]])$2($|[[:space:]]) ]] && echo "valid=true" >> $GITHUB_OUTPUT || exit 0
}
contains "$validcommentors" "$1"