name: Validate Monorepo on: workflow_dispatch: pull_request: types: - edited - opened - synchronize push: branches: - '*' - '!main' jobs: validate: runs-on: ubuntu-latest name: Validate steps: - name: Checkout Commit uses: actions/checkout@v4 with: fetch-depth: 10 - name: Checkout Main run: | git fetch origin git branch -f main origin/main - name: Setup uses: ./.github/actions/setup - name: Build Projects run: | moon repo:build.all - name: Lint Monorepo run: moon run repo:lint