From 9d96385cd69c2bf5db4a7136630782ea5a6191fe Mon Sep 17 00:00:00 2001 From: yixinnb <1667511790@qq.com> Date: Sat, 1 Mar 2025 14:14:10 +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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/auto_join.yaml b/.gitea/workflows/auto_join.yaml index 5167b61..f14db19 100644 --- a/.gitea/workflows/auto_join.yaml +++ b/.gitea/workflows/auto_join.yaml @@ -60,6 +60,7 @@ jobs: 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"}' @@ -71,5 +72,6 @@ jobs: curl -s -X PATCH \ -H "Authorization: token $GITHUB_TOKEN" \ -H "Accept: application/json" \ + -H 'Content-Type: application/json' \ $API_URL/repos/${{ github.repository }}/issues/$ISSUE_NUMBER \ -d '{"state": "closed"}'