From bc35f0d0b8b001bb71dc516402c867ef3ad0badb Mon Sep 17 00:00:00 2001 From: Ulises Jeremias Date: Tue, 19 Sep 2023 16:13:50 -0300 Subject: [PATCH] Update README.md --- examples/github-actions-with-dangerjs/README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/examples/github-actions-with-dangerjs/README.md b/examples/github-actions-with-dangerjs/README.md index 44efe14..c70ea4e 100644 --- a/examples/github-actions-with-dangerjs/README.md +++ b/examples/github-actions-with-dangerjs/README.md @@ -99,20 +99,21 @@ jobs: steps: - name: Checkout Code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: - node-version: "14.x" + node-version: "18.x" - name: Install Dependencies run: npm install - - name: Run DangerJS - run: npx danger ci + - name: Danger JS Action + uses: danger/danger-js@9.1.8 env: - DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }} ``` ### Step 6: Pushing to the Repository