mirror of https://github.com/actions/toolkit
Add a token property to Toolkit
parent
39f7667028
commit
4381229e80
|
@ -40,6 +40,11 @@ export class Toolkit {
|
||||||
*/
|
*/
|
||||||
readonly exit: Exit = new Exit(this.logger)
|
readonly exit: Exit = new Exit(this.logger)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The authentication token for the GitHub API
|
||||||
|
*/
|
||||||
|
readonly token: string = process.env.GITHUB_TOKEN || ''
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Wrap a Signale logger so that its a callable class
|
* Wrap a Signale logger so that its a callable class
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue