]> source.dussan.org Git - gitea.git/commit
Fix `/repos/{owner}/{repo}/pulls/{index}/files` endpoint not populating `previous_fil...
authorcharles-plutohealth <143208583+charles-plutohealth@users.noreply.github.com>
Wed, 11 Sep 2024 17:29:27 +0000 (13:29 -0400)
committerGitHub <noreply@github.com>
Wed, 11 Sep 2024 17:29:27 +0000 (01:29 +0800)
commit7c6edf1ba06d4c3269eaa78f4039c9123b006c51
tree75e7b20228aefe6f7fc1d65fcb5f4d4de555a544
parent125679f2e14cdc8a26a147f7e8fd0e5f174fb5cb
Fix `/repos/{owner}/{repo}/pulls/{index}/files` endpoint not populating `previous_filename` (#32017)

---
`status == "rename"` should have read `status == "renamed"`. The typo
means that file.PreviousFilename would never be populated, which e.g.
breaks usage of the Github Action at
https://github.com/dorny/paths-filter.
services/convert/convert.go