Skip to content

Commit

Permalink
Add link to GitHub Actions documentation for GITHUB_TOKEN
Browse files Browse the repository at this point in the history
Not understanding the GITHUB_TOKEN cost me a fair bit of time recently.
Hopefully adding this link to the docs will save time to other people.

See
danger#856 (comment).
  • Loading branch information
mokagio committed Feb 19, 2020
1 parent 7d76e4b commit 89c1328
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/ci_source/providers/GitHubActions.ts
Original file line number Diff line number Diff line change
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 89c1328

Please sign in to comment.