mirror of
https://github.com/dolthub/dolt.git
synced 2026-04-23 05:13:00 -05:00
/.github/{scripts,workflows}: iterating on pr comment benchmarking
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
if [[ $# -ne 1 ]]; then
|
||||
echo "Usage: ./validate-commentor.sh COMMENTOR"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
validcommentors="coffeegoddd andrew-wm-arthur bheni Hydrocharged katiemcculloch oscarbatori reltuk tbantle22 timsehn VinaiRachakonda zachmu"
|
||||
|
||||
contains() {
|
||||
[[ $1 =~ (^|[[:space:]])$2($|[[:space:]]) ]] && echo "::set-output name=valid::true" || exit 0
|
||||
}
|
||||
|
||||
contains "$validcommentors" "$1"
|
||||
Reference in New Issue
Block a user