WMDE would like to try out using Github Actions to automate post-merge workflows in one our repositories hosted on Gerrit and mirrored to wikimedia github.
Namely https://github.com/wikimedia/wikibase-vuejs-components, on Gerrit:https://gerrit.wikimedia.org/r/admin/projects/wikibase/vuejs-components
The initial workflow is at https://github.com/wikimedia/wikibase-vuejs-components/blob/master/.github/workflows/release.yaml
When the code is pushed to Github via Gerrit, Github Actions fail reporting the workflow error (see e.g. https://github.com/wikimedia/wikibase-vuejs-components/runs/460148633):
- Please verify your email address to run GitHub Actions workflows. https://github.com/settings/emails
Pushing the same code directly to github results in Actions being run properly (this could be observed as "Verify and Publish" runs listed in https://github.com/wikimedia/wikibase-vuejs-components/actions)
At WMDE we believe the issue is due to the Gerrit "pushing" user's (https://github.com/wmfgerrit ?) config (said email address not being valid/verified).
Could someone verify that our theory is correct, and if so, adjust the email address config to allow using Github Actions in Gerrit mirrors?
If the approach we've taken is wrong, please advise what would be the better way to achieve the goal.
There seems to be no gerrit mirror set up to use Github Actions so far, so might be that we're doing it all wrong.