mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-30 19:08:05 +08:00
Fix documentation links (#217)
This commit is contained in:
committed by
Ross Brodbeck
parent
1d7e38e56d
commit
be9f18b69f
@@ -14,7 +14,7 @@ async function run() {
|
||||
// This should be a token with access to your repository scoped in as a secret.
|
||||
// The YML workflow will need to set myToken with the GitHub Secret Token
|
||||
// myToken: ${{ secrets.GITHUB_TOKEN }}
|
||||
// https://help.github.com/en/articles/virtual-environments-for-github-actions#github_token-secret
|
||||
// https://help.github.com/en/actions/automating-your-workflow-with-github-actions/authenticating-with-the-github_token#about-the-github_token-secret
|
||||
const myToken = core.getInput('myToken');
|
||||
|
||||
const octokit = new github.GitHub(myToken);
|
||||
|
||||
Reference in New Issue
Block a user