Sergiy Klymenko
04/20/2023, 8:46 AMDigest: sha256:732418ccdcd1640fba0380fd719f013caf817d3ca59bfd3c488b947db5859a09
Status: Downloaded newer image for <http://ghcr.io/dagster-io/dagster-cloud-action:0.1.24|ghcr.io/dagster-io/dagster-cloud-action:0.1.24>
Traceback (most recent call last):
File "/create_or_update_comment.py", line 81, in <module>
main()
File "/create_or_update_comment.py", line 33, in main
pr = repo.get_pull(pr_id)
File "/usr/local/lib/python3.8/site-packages/github/Repository.py", line 2835, in get_pull
headers, data = self._requester.requestJsonAndCheck(
File "/usr/local/lib/python3.8/site-packages/github/Requester.py", line 398, in requestJsonAndCheck
return self.__check(
File "/usr/local/lib/python3.8/site-packages/github/Requester.py", line 423, in __check
raise self.__createException(status, responseHeaders, output)
github.GithubException.GithubException: 403 {"message": "Resource not accessible by integration", "documentation_url": "<https://docs.github.com/rest/reference/pulls#get-a-pull-request>"}
but I didn't find any references in the dock regarding special permissions or GIHUB access token required additional configuration.
If anyone can point me to the doc or any other suggestions, will highly appreciate it.
Thanks in advanceTim Castillo
04/20/2023, 7:03 PMSergiy Klymenko
04/21/2023, 7:26 AMpermissions:
pull-requests: write
It starts working