Skip to content
This repository was archived by the owner on Dec 11, 2025. It is now read-only.

Post coverage comment #480

Post coverage comment

Post coverage comment #480

Triggered via workflow run September 24, 2025 16:03
@dragos199993dragos199993
completed 73f4cf5
Status Failure
Total duration 45s
Artifacts

coverage.yml

on: workflow_run
Run tests & display coverage
42s
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 161, 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 332, in post_comment pr_number = github.find_pr_for_branch( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workdir/coverage_comment/github.py", line 170, 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
Ending action
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
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=open&head=Not-Diamond%3Amain&sort=updated&direction=desc "HTTP/1.1 200 OK"
Run tests & display coverage
HTTP Request: GET https://api.github.com/repos/Not-Diamond/notdiamond-python/actions/runs/17982249136 "HTTP/1.1 200 OK"
Run tests & display coverage
Search for PR associated with run id 17982249136
Run tests & display coverage
HTTP Request: GET https://api.github.com/user "HTTP/1.1 403 Forbidden"
Run tests & display coverage
Posting comment to PR
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
Starting action