PR preview environment not deleted from github

As per the Render docs once a PR is merged/closed, the preview deployment automatically gets deleted from Render but the corresponding environment created is still visible under Github Environments and have to be deleted manually.

Is there a way to automate this from Render itself?