From 8e179207d7733c9fc0c4fbd060bdb1d217e5bfc4 Mon Sep 17 00:00:00 2001 From: Koji Wakamiya Date: Mon, 3 Jun 2024 21:13:59 +0900 Subject: [PATCH] chore: Fix formatting of environment variable example --- source/ci_source/providers/GitHubActions.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/source/ci_source/providers/GitHubActions.ts b/source/ci_source/providers/GitHubActions.ts index 616e43eab..6254bbd59 100644 --- a/source/ci_source/providers/GitHubActions.ts +++ b/source/ci_source/providers/GitHubActions.ts @@ -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 @@ -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. @@ -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).