fix: handle OpenClaw v2026.4.5 install hang in reinstall/update scripts #387
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Security Scanner | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| concurrency: | |
| group: security-scanner-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| scanner: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Build integration image | |
| uses: docker/build-push-action@v6 | |
| with: | |
| context: . | |
| file: test/integration/Dockerfile | |
| load: true | |
| tags: clawrouter-integration:latest | |
| cache-from: type=gha | |
| cache-to: type=gha,mode=max | |
| - name: Run security scanner | |
| run: > | |
| docker compose -f test/integration/docker-compose.yml run --rm | |
| integration npx vitest run --config vitest.integration.config.ts | |
| test/integration/security-scanner.test.ts |