Files
investment-sandbox/.github/workflows/agent-issue-resolver.yml
2026-06-06 21:11:16 +02:00

29 lines
1.0 KiB
YAML

name: Antigravity Agent Issue Resolver
on:
issues:
types: [labeled]
jobs:
resolve_issue:
if: github.event.label.name == 'enhancement' || github.event.label.name == 'bug' || github.event.label.name == 'agent-resolve'
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Trigger Agentic Workflow
run: |
echo "Triggering Antigravity agentic workflow for Issue #${{ github.event.issue.number }}"
curl -X POST \
-H "Authorization: Bearer ${{ secrets.ANTIGRAVITY_AGENT_TOKEN }}" \
-H "Content-Type: application/json" \
-d '{
"issue_number": ${{ github.event.issue.number }},
"title": "${{ github.event.issue.title }}",
"body": "${{ github.event.issue.body }}",
"label": "${{ github.event.label.name }}",
"repository": "${{ github.repository }}"
}' \
https://api.antigravity.ai/v1/workflows/trigger