From b5b4b0ccf3c27547c7b9692bdbce6773af2cfbe5 Mon Sep 17 00:00:00 2001 From: "sdkman-chloe[bot]" <263185818+sdkman-chloe[bot]@users.noreply.github.com> Date: Sat, 28 Feb 2026 17:20:06 +0000 Subject: [PATCH 1/2] =?UTF-8?q?ci:=20add=20Chlo=C3=A9=20issue=20triage=20w?= =?UTF-8?q?orkflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/chloe-triage.yml | 39 ++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/chloe-triage.yml diff --git a/.github/workflows/chloe-triage.yml b/.github/workflows/chloe-triage.yml new file mode 100644 index 000000000..eec4a04af --- /dev/null +++ b/.github/workflows/chloe-triage.yml @@ -0,0 +1,39 @@ +name: Notify Chloé (Issue Triage) + +on: + issues: + types: [opened] + +jobs: + notify: + runs-on: ubuntu-latest + steps: + - name: Send to OpenClaw + env: + ISSUE_TITLE: ${{ github.event.issue.title }} + ISSUE_BODY: ${{ github.event.issue.body }} + ISSUE_USER: ${{ github.event.issue.user.login }} + ISSUE_URL: ${{ github.event.issue.html_url }} + ISSUE_NUMBER: ${{ github.event.issue.number }} + REPO: ${{ github.repository }} + run: | + PAYLOAD=$(jq -n \ + --arg msg "New issue in ${REPO} — #${ISSUE_NUMBER}: ${ISSUE_TITLE} + +Author: ${ISSUE_USER} +URL: ${ISSUE_URL} + +${ISSUE_BODY}" \ + --arg name "GitHub Issues" \ + '{ + message: $msg, + name: $name, + deliver: true, + channel: "discord", + to: "channel:1477282395249053697" + }') + curl -sf -X POST \ + -H "Authorization: Bearer ${{ secrets.OPENCLAW_HOOK_TOKEN }}" \ + -H "Content-Type: application/json" \ + -d "$PAYLOAD" \ + https://openclaw.taile14d8a.ts.net/hooks/agent From 45436ccba8c0d3349e6e9338550f10de3a1ad065 Mon Sep 17 00:00:00 2001 From: "sdkman-chloe[bot]" <263185818+sdkman-chloe[bot]@users.noreply.github.com> Date: Sat, 28 Feb 2026 17:33:11 +0000 Subject: [PATCH 2/2] ci: use secret for hook URL --- .github/workflows/chloe-triage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/chloe-triage.yml b/.github/workflows/chloe-triage.yml index eec4a04af..67434751e 100644 --- a/.github/workflows/chloe-triage.yml +++ b/.github/workflows/chloe-triage.yml @@ -36,4 +36,4 @@ ${ISSUE_BODY}" \ -H "Authorization: Bearer ${{ secrets.OPENCLAW_HOOK_TOKEN }}" \ -H "Content-Type: application/json" \ -d "$PAYLOAD" \ - https://openclaw.taile14d8a.ts.net/hooks/agent + ${{ secrets.OPENCLAW_HOOK_URL }}