From 9307a50e342f5eb1782bf787a5218c465e7e3535 Mon Sep 17 00:00:00 2001 From: yixinnb <1667511790@qq.com> Date: Sat, 1 Mar 2025 14:20:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/auto=5Fjo?= =?UTF-8?q?in.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/auto_join.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/auto_join.yaml b/.gitea/workflows/auto_join.yaml index f14db19..a8a22ae 100644 --- a/.gitea/workflows/auto_join.yaml +++ b/.gitea/workflows/auto_join.yaml @@ -56,13 +56,13 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # 使用默认的 GITHUB_TOKEN ISSUE_NUMBER: ${{ github.event.issue.number }} run: | - COMMENT_BODY="test" + COMMENT_BODY="您已加入, 请[点这里继续](https://git.intcplab.cn/class)" curl -s -X POST \ -H "Authorization: token $GITHUB_TOKEN" \ -H "Accept: application/json" \ -H 'Content-Type: application/json' \ $API_URL/repos/${{ github.repository }}/issues/$ISSUE_NUMBER/comments \ - -d '{"body": "$COMMENT_BODY"}' + -d "{\"body\": \"$COMMENT_BODY\"}" - name: Close issue env: