blazing-fast-gh-pages-deploy
blazing-fast-gh-pages-deploy copied to clipboard
Wrong commit author when triggered by cron
Latest commit to master: https://github.com/hyoo-ru/mol.hyoo.ru/commit/6da2cca79da6af91ae398c7b4095c15bfd678a81
Latest commit to gh-pages: https://github.com/hyoo-ru/mol.hyoo.ru/commit/f9d1bbd4029ae57974ca844a18a3e4e40dd6423a
Workflow: https://github.com/hyoo-ru/mol.hyoo.ru/blob/master/.github/workflows/deploy.yml
What could it be from?
The author is set by the user who does the commit into master. I use GITHUB_ACTOR
to get that information.
GITHUB_ACTOR The name of the person or app that initiated the workflow. For example, octocat.
You can see how it is set up here: https://github.com/alex-page/blazing-fast-gh-pages-deploy/blob/9424605f6c68fbedcf3c58c42f6cdfe115e4756c/index.js#L9-L22
The author is set by the user who does the commit into master.
But last commit to master is my, not @zerkalica.