# Validate OMNL operator rail: .gitignore, resolve_ids pattern, shellcheck on scripts/omnl. name: Validate OMNL Rail on: pull_request: paths: - 'scripts/omnl/**' - '.gitignore' - '.github/workflows/validate-omnl-rail.yml' push: branches: [master] paths: - 'scripts/omnl/**' - '.github/workflows/validate-omnl-rail.yml' jobs: validate-omnl-rail: name: OMNL rail checks runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - name: .gitignore and resolve_ids run: bash scripts/omnl/validate-rail.sh - name: Shellcheck (optional) run: | if command -v shellcheck >/dev/null 2>&1; then shellcheck -x scripts/omnl/*.sh || true else echo "Shellcheck not installed; skipping." fi