Post coverage comment #4
Triggered via workflow run
July 24, 2024 13:21
r0ymanesco
completed
681d7e1
Status
Failure
Total duration
18s
Artifacts
–
coverage.yml
on: workflow_run
Run tests & display coverage
8s
Annotations
1 error and 10 notices
Run tests & display coverage
The PR cannot be found. That's strange. Please open an issue at https://github.com/py-cov-action/python-coverage-comment-action
Traceback (most recent call last):
File "/workdir/coverage_comment/github.py", line 110, in find_pr_for_branch
return next(
^^^^^
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/workdir/coverage_comment/main.py", line 285, in post_comment
pr_number = github.find_pr_for_branch(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workdir/coverage_comment/github.py", line 119, in find_pr_for_branch
raise CannotDeterminePR(f"No open PR found for branch {branch}")
coverage_comment.github.CannotDeterminePR: No open PR found for branch main
|
Run tests & display coverage
Starting action
|
Run tests & display coverage
HTTP Request: GET https://api.github.com/repos/Not-Diamond/notdiamond-python "HTTP/1.1 200 OK"
|
Run tests & display coverage
Posting comment to PR
|
Run tests & display coverage
HTTP Request: GET https://api.github.com/user "HTTP/1.1 403 Forbidden"
|
Run tests & display coverage
Search for PR associated with run id 10069404239
|
Run tests & display coverage
HTTP Request: GET https://api.github.com/repos/Not-Diamond/notdiamond-python/actions/runs/10069404239 "HTTP/1.1 200 OK"
|
Run tests & display coverage
HTTP Request: GET https://api.github.com/repos/Not-Diamond/notdiamond-python/pulls?state=open&head=Not-Diamond%3Amain&sort=updated&direction=desc "HTTP/1.1 200 OK"
|
Run tests & display coverage
No open PR found for branch main, defaulting to all PRs
|
Run tests & display coverage
HTTP Request: GET https://api.github.com/repos/Not-Diamond/notdiamond-python/pulls?state=all&head=Not-Diamond%3Amain&sort=updated&direction=desc "HTTP/1.1 200 OK"
|
Run tests & display coverage
Ending action
|