mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-01-03 21:22:56 +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)
|
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…
x
Reference in New Issue
Block a user