mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-11-18 17:21:06 +08:00
Add a token property to Toolkit
This commit is contained in:
parent
39f7667028
commit
4381229e80
@ -40,6 +40,11 @@ export class Toolkit {
|
||||
*/
|
||||
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
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user