#!/usr/bin/env bash
set -euo pipefail

REPO_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"

"$REPO_DIR/scripts/sync-private-notes.sh"

if [ "${ARQERA_SKIP_PUSH_GATES:-0}" != "1" ]; then
  bash "$REPO_DIR/scripts/inventory-gate.sh"
  bash "$REPO_DIR/scripts/system-graph-gate.sh"
fi
