chpore: add gitea stuff
Some checks failed
CI/CD / test (push) Failing after 1m10s
CI/CD / deploy-staging (push) Has been skipped
CI/CD / deploy-prod (push) Has been skipped

This commit is contained in:
2026-01-03 19:27:49 +03:00
parent fb5fa248dd
commit 3522f243b8
2 changed files with 64 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
# .gitea/workflows/ai-solve-issue.yml
name: AI Issue Solver
on:
issues:
types: [labeled]
jobs:
solve:
if: github.event.label.name == 'ai-solve'
runs-on: opencode
steps:
- name: Solve Issue
env:
GITEA_URL: ${{ secrets.GITEA_URL }}
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
REPO_OWNER: ${{ github.repository_owner }}
REPO_NAME: ${{ github.event.repository.name }}
ISSUE_NUMBER: ${{ github.event.issue.number }}
run: solve-issue