mirror of https://github.com/actions/toolkit
Add missing } to token example (#153)
parent
547d771ca3
commit
3116829a9b
|
@ -12,7 +12,7 @@ const core = require('@actions/core');
|
||||||
|
|
||||||
// This should be a token with access to your repository scoped in as a secret.
|
// 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
|
// The YML workflow will need to set myToken with the GitHub Secret Token
|
||||||
// myToken: ${{ secrets.GITHUB_TOKEN }
|
// myToken: ${{ secrets.GITHUB_TOKEN }}
|
||||||
// https://help.github.com/en/articles/virtual-environments-for-github-actions#github_token-secret
|
// https://help.github.com/en/articles/virtual-environments-for-github-actions#github_token-secret
|
||||||
const myToken = core.getInput('myToken');
|
const myToken = core.getInput('myToken');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue