From a84271a05634f86bb85af210adf14e0e0f83d5cb Mon Sep 17 00:00:00 2001 From: Frank Schwenk Date: Sun, 5 Jul 2026 16:50:21 +0200 Subject: [PATCH] feat: cursor workflow also on issues opened with @cursor Co-authored-by: Cursor --- .gitea/workflows/cursor.yml | 2 ++ README.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/cursor.yml b/.gitea/workflows/cursor.yml index bcf3961..5aa9f7f 100644 --- a/.gitea/workflows/cursor.yml +++ b/.gitea/workflows/cursor.yml @@ -2,6 +2,8 @@ name: Cursor Agent on: issue_comment: types: [created] + issues: + types: [opened] jobs: cursor: diff --git a/README.md b/README.md index 2330462..398b1d6 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Experimentier-Site auf [playground.schwenk.online](https://playground.schwenk.on ## Wie es funktioniert 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//` auf `main` 4. Push-Webhook triggert `git pull` → nginx liefert statische Seiten aus