chpore: add gitea stuff
This commit is contained in:
20
.gitea/workflows/ai-solve-issue.yml
Normal file
20
.gitea/workflows/ai-solve-issue.yml
Normal 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
|
||||
Reference in New Issue
Block a user