Skip to content

Commit

Permalink
Merge pull request #1000 from mokagio/add-GITHUB_TOKEN-link
Browse files Browse the repository at this point in the history
Minor docs improvement for GitHub Actions
  • Loading branch information
orta committed Feb 19, 2020
2 parents 7d76e4b + 810b59c commit b08f7a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/ci_source/providers/GitHubActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { readFileSync, existsSync } from "fs"
* - name: Use Node.js 10.x
* uses: actions/setup-node@v1
* with:
* version: 10.x
* node-version: 10.x
* - name: install yarn
* run: npm install -g yarn
* - name: yarn install, build, and test
Expand Down Expand Up @@ -132,6 +132,8 @@ import { readFileSync, existsSync } from "fs"
* env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
* ```
*
* [GitHub automatically creates a `GITHUB_TOKEN` secret to use in your workflow](https://help.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token). You can use the `GITHUB_TOKEN` to authenticate in a workflow run.
*
*/

export class GitHubActions implements CISource {
Expand Down

0 comments on commit b08f7a3

Please sign in to comment.