更新 .gitea/workflows/auto_join.yaml
Process Python Script on PR / process-python (push) Failing after 2s
Process Python Script on PR / process-python (push) Failing after 2s
This commit is contained in:
@@ -60,6 +60,7 @@ jobs:
|
|||||||
curl -s -X POST \
|
curl -s -X POST \
|
||||||
-H "Authorization: token $GITHUB_TOKEN" \
|
-H "Authorization: token $GITHUB_TOKEN" \
|
||||||
-H "Accept: application/json" \
|
-H "Accept: application/json" \
|
||||||
|
-H 'Content-Type: application/json' \
|
||||||
$API_URL/repos/${{ github.repository }}/issues/$ISSUE_NUMBER/comments \
|
$API_URL/repos/${{ github.repository }}/issues/$ISSUE_NUMBER/comments \
|
||||||
-d '{"body": "$COMMENT_BODY"}'
|
-d '{"body": "$COMMENT_BODY"}'
|
||||||
|
|
||||||
@@ -71,5 +72,6 @@ jobs:
|
|||||||
curl -s -X PATCH \
|
curl -s -X PATCH \
|
||||||
-H "Authorization: token $GITHUB_TOKEN" \
|
-H "Authorization: token $GITHUB_TOKEN" \
|
||||||
-H "Accept: application/json" \
|
-H "Accept: application/json" \
|
||||||
|
-H 'Content-Type: application/json' \
|
||||||
$API_URL/repos/${{ github.repository }}/issues/$ISSUE_NUMBER \
|
$API_URL/repos/${{ github.repository }}/issues/$ISSUE_NUMBER \
|
||||||
-d '{"state": "closed"}'
|
-d '{"state": "closed"}'
|
||||||
|
|||||||
Reference in New Issue
Block a user