PyVerse is an open-source collection of diverse Python projects, tools, and scripts, ranging from beginner to advanced, across various domains like machine learning, web development, and automation.
:red_circle: Title :
Auto Comment on PR Merge and Issue Close Failing Due to Errors
:red_circle: Bug :
PR Merge Auto Comment Fails:
When attempting to auto-comment on PR merge, the following error occurs:
{
"message": "Resource not accessible by integration",
"documentation_url": "https://docs.github.com/rest/issues/comments#create-an-issue-comment",
"status": "403"
}
Error: Process completed with exit code 1.
Issue Close Auto Comment Fails:
The following syntax error is preventing the auto-comment from being added on issue close:
/home/runner/work/_temp/00cb0ad8-b57c-4b74-9eca-ec7eaf8b5b70.sh: line 18: syntax error: unexpected end of file
Error: Process completed with exit code 2.
:red_circle: Changes :
Fix the PR Merge Comment Issue:
Investigate and resolve the "Resource not accessible by integration" error (HTTP 403). Likely permissions issue with the integration or missing access token.
Fix the Syntax Error on Issue Close:
Check the shell script responsible for closing the issue and correct the syntax, specifically at line 18 where the error arises from an unexpected EOF.
:red_circle: Title :
Auto Comment on PR Merge and Issue Close Failing Due to Errors
:red_circle: Bug :
PR Merge Auto Comment Fails:
When attempting to auto-comment on PR merge, the following error occurs:
Issue Close Auto Comment Fails:
The following syntax error is preventing the auto-comment from being added on issue close:
:red_circle: Changes :