Skip to content

Commit

Permalink
Merge pull request #1452 from koji-1009/fix/format
Browse files Browse the repository at this point in the history
chore: Fix formatting of environment variable example
  • Loading branch information
orta authored Jun 4, 2024
2 parents d5af2ef + 8e17920 commit 810b9ca
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 810b9ca

Please sign in to comment.