feat: add QR sync SRP e2e inject path and SmokeAccounts specs #19241
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: AI PR risk analysis | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| - ready_for_review | |
| concurrency: | |
| group: ai-pr-risk-analysis-${{ github.event.pull_request.number || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| analyze: | |
| name: Analyze | |
| if: >- | |
| github.event_name == 'pull_request' | |
| && !(github.event.pull_request.head.repo.fork || github.event.repository.fork) | |
| && github.event.pull_request.draft == false | |
| && (github.event.pull_request.base.ref == 'main' || startsWith(github.event.pull_request.base.ref, 'release/')) | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| checks: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| # https://github.com/MetaMask/ai-analyzer/releases | |
| - name: Checkout AI Analyzer | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: MetaMask/ai-analyzer | |
| ref: v1 | |
| path: .ai-analyzer-action | |
| token: ${{ secrets.AI_ANALYZER_TOKEN }} | |
| - name: Run AI PR Analysis | |
| uses: ./.ai-analyzer-action | |
| with: | |
| mode: pr-risk-analysis | |
| add-comment: false | |
| add-label: true | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| litellm-api-key: ${{ secrets.AI_ANALYZER_LITELLM_KEY }} |