feat: complete core 5 elements and risk layer architecture
This commit is contained in:
28
.github/workflows/agent-issue-resolver.yml
vendored
Normal file
28
.github/workflows/agent-issue-resolver.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
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
|
||||
Reference in New Issue
Block a user