feat: cursor workflow also on issues opened with @cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Frank Schwenk
2026-07-05 16:50:21 +02:00
parent deac59d55a
commit a84271a056
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -2,6 +2,8 @@ name: Cursor Agent
on: on:
issue_comment: issue_comment:
types: [created] types: [created]
issues:
types: [opened]
jobs: jobs:
cursor: cursor:
+1 -1
View File
@@ -5,7 +5,7 @@ Experimentier-Site auf [playground.schwenk.online](https://playground.schwenk.on
## Wie es funktioniert ## Wie es funktioniert
1. Issue in Gitea öffnen, z. B. *„Onepager: Thema XY“* 1. Issue in Gitea öffnen, z. B. *„Onepager: Thema XY“*
2. Kommentar: `@cursor recherchiere zu Thema XY und generiere einen Onepager als plain HTML` 2. Kommentar **oder** Issue-Titel/-Body mit `@cursor`, z. B. *„@cursor recherchiere zu Thema XY …“*
3. Gitea Action ([cursor-gitea-agent](https://gitea.schwenk.online/froxxxy/cursor-gitea-agent)) committet nach `public/<slug>/` auf `main` 3. Gitea Action ([cursor-gitea-agent](https://gitea.schwenk.online/froxxxy/cursor-gitea-agent)) committet nach `public/<slug>/` auf `main`
4. Push-Webhook triggert `git pull` → nginx liefert statische Seiten aus 4. Push-Webhook triggert `git pull` → nginx liefert statische Seiten aus