Skip to content

Commit

Permalink
chore: Fix formatting of environment variable example
Browse files Browse the repository at this point in the history
  • Loading branch information
koji-1009 committed Jun 3, 2024
1 parent bb0f4c2 commit 8e17920
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions source/ci_source/providers/GitHubActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ import { readFileSync, existsSync } from "fs"
* yarn test
* - name: Danger
* run: yarn danger ci
* env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
* env:
* GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
* ```
*
* If you are not running in a JavaScript ecosystem, or don't want to include the dependency then
Expand Down Expand Up @@ -102,7 +103,8 @@ import { readFileSync, existsSync } from "fs"
*
* - name: Danger
* run: danger-swift ci
* env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
* env:
* GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
* ```
*
* If don't want to include the dependency then you can use Danger Swift via an action.
Expand Down Expand Up @@ -149,7 +151,8 @@ import { readFileSync, existsSync } from "fs"
* ```yml
* - name: Danger JS
* uses: danger/danger-js@9.1.6
* env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
* 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).
Expand Down

0 comments on commit 8e17920

Please sign in to comment.