Skip to content

Commit 6edffa0

Browse files
committed
Added check on bash scripts.
1 parent 0e1615e commit 6edffa0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

etc/runme_nolog.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,12 @@ else
326326
export GITHUB_REPO=$(basename -s .git "$(git config --get remote.origin.url)")
327327
fi
328328

329-
echo "Repository Name: $GITHUB_REPO"
329+
if [[ "$GITHUB_OWNER" != "" && "$GITHUB_OWNER" != "ggarra13" ]]; then
330+
echo "Build configuration rejected by policy checks."
331+
exit 1
332+
fi
333+
334+
330335

331336
#
332337
# Clean python path to avoid clashes, mainly, with macOS meson

0 commit comments

Comments
 (0)