From 53d0cc61460fde18469e415596acd8d77d92f7c5 Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Wed, 10 Apr 2024 13:09:27 -0400 Subject: [PATCH] Update `GITHUB_TOKEN` environment variable for Danger (#10365) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR updates the `GITHUB_TOKEN` environment variable that we use for Danger so that it should (hopefully) be able to run for PRs of external contributors. Followed the instructions outlined [here](https://danger.systems/js/guides/getting_started#setting-up-danger-to-run-on-your-ci). Danger comments will now by left by the @zed-industries-bot: Screenshot 2024-04-10 at 1 07 15 PM Release Notes: - N/A --- .github/workflows/danger.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/danger.yml b/.github/workflows/danger.yml index e3daab45cf..15b68266f5 100644 --- a/.github/workflows/danger.yml +++ b/.github/workflows/danger.yml @@ -32,4 +32,4 @@ jobs: - name: Run Danger run: pnpm run --dir script/danger danger ci env: - GITHUB_TOKEN: ${{ github.token }} + GITHUB_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }}