更新 .gitea/workflows/auto_join.yaml
Process Python Script on PR / process-python (push) Failing after 2s

This commit is contained in:
2025-03-01 14:14:10 +08:00
parent 437d81acff
commit 9d96385cd6
+2
View File
@@ -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"}'