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: