Skip to content

Post coverage comment #341

Post coverage comment

Post coverage comment #341

Triggered via workflow run December 19, 2024 15:19
@acompaacompa
completed 4240050
Status Failure
Total duration 16s
Artifacts

coverage.yml

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

Annotations

1 error, 1 warning, 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 128, 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 137, 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
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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 12415446222
Run tests & display coverage
HTTP Request: GET https://api.github.com/repos/Not-Diamond/notdiamond-python/actions/runs/12415446222 "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