Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛: Auto Comment on PR Merge and Issue Close Failing Due to Errors #6

Closed
UTSAVS26 opened this issue Sep 30, 2024 · 7 comments · Fixed by #29
Closed

🐛: Auto Comment on PR Merge and Issue Close Failing Due to Errors #6

UTSAVS26 opened this issue Sep 30, 2024 · 7 comments · Fixed by #29
Assignees
Labels
Contributor Denotes issues or PRs submitted by contributors to acknowledge their participation. level2 Status: Assigned Indicates an issue has been assigned to a contributor. WoB'24 (Winter of Blockchain) Contributions or tasks specific to the Winter of Blockchain 2024 event, focusing on blockchain-relat

Comments

@UTSAVS26
Copy link
Owner

🔴 Title :
Auto Comment on PR Merge and Issue Close Failing Due to Errors

🔴 Bug :

  1. 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.
  2. 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.

🔴 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.

Copy link

🙌 Thank you for bringing this issue to our attention! We appreciate your input and will investigate it as soon as possible.

@yashksaini-coder
Copy link
Contributor

yashksaini-coder commented Sep 30, 2024

can you assign this issue to me @UTSAVS26 I would like to try and resolve the error

@yashksaini-coder
Copy link
Contributor

can you assign this issue to me @UTSAVS26 I would like to try and resolve the error

hi @UTSAVS26 assign this issue to me and add labels to it.

@UTSAVS26
Copy link
Owner Author

UTSAVS26 commented Oct 2, 2024

can you assign this issue to me @UTSAVS26 I would like to try and resolve the error

hi @UTSAVS26 assign this issue to me and add labels to it.

Sure

@UTSAVS26 UTSAVS26 added Contributor Denotes issues or PRs submitted by contributors to acknowledge their participation. Status: Assigned Indicates an issue has been assigned to a contributor. WoB'24 (Winter of Blockchain) Contributions or tasks specific to the Winter of Blockchain 2024 event, focusing on blockchain-relat level2 labels Oct 2, 2024
@yashksaini-coder
Copy link
Contributor

can you assign this issue to me @UTSAVS26 I would like to try and resolve the error

hi @UTSAVS26 assign this issue to me and add labels to it.

Sure

Thanks 👍🏼 @UTSAVS26

Copy link

github-actions bot commented Oct 2, 2024

✅ This issue has been closed. Thank you for your contribution! If you have any further questions or issues, feel free to reach out!

1 similar comment
Copy link

github-actions bot commented Oct 2, 2024

✅ This issue has been closed. Thank you for your contribution! If you have any further questions or issues, feel free to reach out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Contributor Denotes issues or PRs submitted by contributors to acknowledge their participation. level2 Status: Assigned Indicates an issue has been assigned to a contributor. WoB'24 (Winter of Blockchain) Contributions or tasks specific to the Winter of Blockchain 2024 event, focusing on blockchain-relat
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants