ClickHouse/utils/check-style/check-workflows

16 lines
328 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
set -e
WORKING_DIR=$(dirname "$0")
cd "$WORKING_DIR"
GIT_ROOT=$(git rev-parse --show-cdup)
GIT_ROOT=${GIT_ROOT:-../../}
act --list --directory="$GIT_ROOT" 1>/dev/null 2>&1 || act --list --directory="$GIT_ROOT" 2>&1
2022-05-27 14:15:34 +00:00
actionlint -ignore 'reusable workflow call.+' || :
python3 check_reusable_workflows.py