menu
Channels
Team

Using a custom personal access token

December 18, 2019 at 1:21pm

Using a custom personal access token

December 18, 2019 at 1:21pm
Since I want to edit some GitHub Actions files, I need an additional scope for Gitpod. How would I be able to set my own personal access token, or is there a way to do this with GitHub's permissions manager?

December 18, 2019 at 1:27pm
Oh, do they have a special scope now for that? It used to be not supported at all. If it is about push you can try with this: https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line
  • reply
  • like
Oh, do they have a special scope now for that? It used to be not supported at all. If it is about push you can try with this: https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line
Yeah, they created a new workflow permission scope. I found it somewhere, I'll send you the link later.
like-fill
1
  • reply
  • like
Is there an environment variable that I can change to use the access token as the password?
  • reply
  • like
No, the token is not stored as an ENV variable, that would be bad when you share your workspace.
  • reply
  • like
Is there any way to use that as the Git password, without an environment variable?
  • reply
  • like