You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks to #140, renamed files are not retrieved from the list of files touched by the PR.
Such files require that a redirect is configured (the file has moved, so the previous location is no longer available), so IMHO, it should be listed in the "Check redirects" paragraph.
I have detected the issue in the cloud documentation content repository.
Overview
In PR 62, it should also list the pages related to "access" and "ldap-configuration"
Notice that in PR 62, the former access page is listed in "Check redirects" because GitHub see a deleted of the former page, and the add of the new page, not a rename.
Thanks to #140, renamed files are not retrieved from the list of files touched by the PR.
Such files require that a redirect is configured (the file has moved, so the previous location is no longer available), so IMHO, it should be listed in the "Check redirects" paragraph.
I have detected the issue in the cloud documentation content repository.
In PR 62 and 64, it should list:
In PR 62, it should also list the pages related to "access" and "ldap-configuration"
Notice that in PR 62, the former access page is listed in "Check redirects" because GitHub see a deleted of the former page, and the add of the new page, not a rename.
Possible solution
In the response of the REST API listing the files touched by a PR (https://docs.github.com/en/rest/pulls/pulls?apiVersion=2022-11-28#list-pull-requests-files), the response schema mention that an
previous_filename
attribute exists. It could be used to get the former name of a page and list it in the "Check redirects" paragraphThe text was updated successfully, but these errors were encountered: