decaporg / decap-cms

A Git-based CMS for Static Site Generators
https://decapcms.org
MIT License
17.65k stars 1 forks source link

Editorial workflow screen shows current user as author for all entries, not PR author #7232

Open robbymilo opened 2 weeks ago

robbymilo commented 2 weeks ago

Screenshot from 2024-06-13 10-03-41

Describe the bug

The editorial workflow screen does not show the correct author of an entry.

To Reproduce

  1. Save an edit in editorial mode - do not publish it.
  2. Log in as another GitHub user.
  3. View the editorial workflow screen - the entry will show as if it were created by the current logged in user.

Expected behavior

The workflow screen should show the author of the PR.

Screenshots

Applicable Versions:

CMS configuration

n/a

Additional context

Happy to make an attempt with a PR to fix this if you can point me to the code :)

robbymilo commented 1 week ago

Looks like this was introduced by https://github.com/decaporg/decap-cms/releases/tag/decap-cms%403.1.1. 3.0.12 is working properly.