Skip to content

Post coverage comment #20

Post coverage comment

Post coverage comment #20

Triggered via workflow run July 30, 2024 15:12
@r0ymanescor0ymanesco
completed 2bd481b
Status Failure
Total duration 23s
Artifacts

coverage.yml

on: workflow_run
Run tests & display coverage
14s
Run tests & display coverage
Fit to window
Zoom out
Zoom in

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 304, 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 10164889155
Run tests & display coverage
HTTP Request: GET https://api.github.com/repos/Not-Diamond/notdiamond-python/actions/runs/10164889155 "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