/use-github-token

Action to use a GitHub token

Primary LanguageJavaScript

Use GitHub Token action

This action configures git to use an access token.

You can obtain a personal access token in the develop settings page.


Inputs

authentication

Required The authentication value used for authenticating against github.com.

name

Optional The user.name git config value.

email

Optional The user.email git config value.

Example usage

uses: frankdejonge/use-github-token
with:
  authentication: 'your_username:${{ secrets.YOUR_SECRET_TOKEN }}'

Optional values:

uses: frankdejonge/use-github-token
with:
  authentication: 'your_username:${{ secrets.YOUR_SECRET_TOKEN }}'
  name: 'Your Name'
  email: 'your-email@example.com'