This Step writes GitHub OAuth configs to the .netrc file, so every single network call pointing to github.com or api.github.com hosts will be accessed with the given Personal Access Token and the GitHub username.
Please note that this Step must come before any other git Step in your Workflow, therefore, it can be, for example, the first Step in your Workflow.
Configuring the Step
- Add your GitHub username in the respective input field.
- Add your GitHub Personal Access Token in the respective input field.
To get your GitHub Personal Access Token, follow these steps:
- Login to your GitHub account.
- In the upper-right corner of any page, click your profile photo, then click Settings.
- In the left sidebar, click Personal access tokens.
- Click Generate new token.
- Give your token a descriptive name.
- Select the scopes, or permissions you’d like to grant this token with.
- Click Generate token.
Useful links
Related Steps