hello-stephen opened a new pull request, #39553:
URL: https://github.com/apache/doris/pull/39553

   
   when pr needs to skip the TeamCity build, an error occurs like below,
   ```
   curl -L -X POST -H 'Accept: application/vnd.github+json' -H 'Authorization: 
***' -H 'X-GitHub-Api-Version: 2022-11-28' 
https://api.github.com/repos/apache/doris/statuses/efa07c9ec476b4841bace614df58a98e62d22176
 -d '{"state":"success","target_url":"","description":"Skip teamCity 
build","context":"FE UT (Doris FE UT)"}'
   {
     "message": "Resource not accessible by integration",
     "documentation_url": 
"https://docs.github.com/rest/commits/statuses#create-a-commit-status";,
     "status": "403"
   }
   ```
   it seems that GITHUB_TOKEN has changed the default permission.
   According to the document 
https://docs.github.com/zh/actions/writing-workflows/workflow-syntax-for-github-actions#permissions,
 I try to set the required permission to fix this problem. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to