hs3city / hs3.pl

GNU General Public License v3.0
0 stars 15 forks source link

Decap CMS - change commit's author to someone other than DoomHammer #104

Open MartaSien opened 3 months ago

MartaSien commented 3 months ago

Description of the issue

Currently, when creating a new PR via Decap CMS, the author is always @DoomHammer . Sample PR with the issue: Create [ENG] Projects “żeton”

How it should be?

When opening a PR via Decap CMS, the author should be, if possible, a creator of the PR. If it's not possible, perhaps the author could be something akin to a faceless account.

Useful info

Implementation plan

MartaSien commented 3 months ago

One option is to change the backend to GitHub. This way, a user will have to authorize via their GitHub account to use Decap CMS dashboard. I tested creating the PR and it worked: https://github.com/MartaSien/hs3.pl/pull/18 It can even create a fork automatically. I also defined image folders, as on default they all land in the static/uploads folder. The PR is available here: https://github.com/hs3city/hs3.pl/pull/108

The process is described in docs here.