neondatabase / autoscaling

Postgres vertical autoscaling in k8s
Apache License 2.0
164 stars 21 forks source link

CI(test): fix auto-comment if there's no changes in code coverage #1066

Closed bayandin closed 2 months ago

bayandin commented 2 months ago

If there are no changes in code coverage fgrosse/go-coverage-report action doesn't post a GitHub comment. If there's no comment, we can't modify it with a link to the HTML report on S3[0].

This PR makes the workflow post a new comment if there's no previous one.

bayandin commented 2 months ago

An alternative solution is not to post the link to the HTML Report if there are no changes in coverage, as grosse/go-coverage-report does. What do you think, @mikhail-sakhnov?

github-actions[bot] commented 2 months ago
No changes to the coverage. ### HTML Report Click to open