]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
.github/workflows/config-diff-post-comment.js: improve handling of GH comment
authorNaveen Naidu <naveennaidu479@gmail.com>
Mon, 9 Jun 2025 07:36:00 +0000 (13:06 +0530)
committerNaveen Naidu <naveennaidu479@gmail.com>
Mon, 9 Jun 2025 07:36:00 +0000 (13:06 +0530)
commit37d296b314bc631754ee00d87fee1a97dcbf40b2
tree4c1f266114da1a8429b6faa97b1b2034f23dd01d
parentafb52299e36fffd222da912cb6f5ad805a1d8ccd
.github/workflows/config-diff-post-comment.js: improve handling of GH comment

1. When no configuration changes are detected, delete the outdated
   configuration diff Github comment. This ensures that the PR does not
   have any misleading information about configuration changes.
2. Configuration changes might change with every push event, update the
   old configuration diff comment with the new configDiff that was
   calculated in the present run.

Signed-off-by: Naveen Naidu <naveennaidu479@gmail.com>
.github/workflows/scripts/config-diff-post-comment.js