gp init
on your terminal or manually create a file called .gitpod.yml
.gitpod.yml
:.gitpod.Dockerfile
and put the following content in it:gp validate
in your workspace.$SCM_TOKEN
environment variable after you commit and create a new workspace, this variable will contain an API token based on the Git context (i.e. Gitlab/GitHub/Bitbucket)
GIT_COMMITTER_EMAIL
GIT_AUTHOR_EMAIL
*/*
as the scope.
Now all of your new workspaces should use them for Git commits. If you have a workspace running, you can restart it or run eval "$(gp env -e)"
in it.