ClickHouse/utils/check-style/check-workflows
2023-11-13 12:49:32 +01:00

16 lines
328 B
Bash
Executable File

#!/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
actionlint -ignore 'reusable workflow call.+' || :
python3 check_reusable_workflows.py