DEV Community

Discussion on: How To Set Up GitHub Actions to Publish a Monorepo to NPM

Collapse
 
flosch_99 profile image
Florent SCHILDKNECHT

Hi Cesar, thanks for the guide :)
I am struggling a bit to understand how the "Git Identity" part works here.

Those user.name and user.email as well as the GITHUB_TOKEN variable, are they natively available in GitHub Actions, or is it something you configure somehow for the repository?

The doc of the official "checkout" action mentions a "built-in" token, is that the same thing?
github.com/actions/checkout#push-a...

Cheers

Collapse
 
diegoc22 profile image
Diego Cortes

You set them as github secrets, and then you call in the env: section. Doing that their are available in your action