# Validate OMNL operator rail: .gitignore, resolve_ids pattern, shellcheck on scripts/omnl. name: Validate OMNL Rail on: pull_request: paths: - 'scripts/omnl/**' - 'docs/04-configuration/mifos-omnl-central-bank/**' - '.gitignore' - '.github/workflows/validate-omnl-rail.yml' push: branches: [master] paths: - 'scripts/omnl/**' - 'docs/04-configuration/mifos-omnl-central-bank/**' - '.gitignore' - '.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: Transaction package CI smoke (fast ledger fixture) run: bash scripts/omnl/run-transaction-package-ci-smoke.sh - name: Install shellcheck run: sudo apt-get update -qq && sudo apt-get install -y shellcheck - name: Shellcheck scripts/omnl (severity error) run: shellcheck -S error -x scripts/omnl/*.sh