This repository was archived by the owner on Jun 3, 2026. It is now read-only.
feat: add xmem-antigravity plugin and groq support #132
Workflow file for this run
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: Danger PR Review Bot | |
| # Danger runs on the PR and posts a review comment with potential issues. | |
| # It does NOT block the PR — it's purely advisory for the reviewer. | |
| on: | |
| pull_request: | |
| branches: [main, master, develop] | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| statuses: write | |
| concurrency: | |
| group: danger-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| danger: | |
| name: Danger Review | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Skip Danger for fork PRs | |
| if: github.event.pull_request.head.repo.full_name != github.repository | |
| run: | | |
| echo "Danger is skipped for fork PRs because the pull_request token is read-only and cannot post review comments or statuses." | |
| { | |
| echo "### Danger skipped for fork PR" | |
| echo | |
| echo "This PR comes from a fork. GitHub correctly restricts the workflow token, so advisory Danger comments are skipped instead of failing CI." | |
| } >> "$GITHUB_STEP_SUMMARY" | |
| - uses: actions/checkout@v4 | |
| if: github.event.pull_request.head.repo.full_name == github.repository | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-node@v4 | |
| if: github.event.pull_request.head.repo.full_name == github.repository | |
| with: | |
| node-version: "20" | |
| - name: Install Danger | |
| if: github.event.pull_request.head.repo.full_name == github.repository | |
| run: npm install --save-dev danger | |
| - name: Run Danger | |
| if: github.event.pull_request.head.repo.full_name == github.repository | |
| run: npx danger ci | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |