Skip to content

Commit

Permalink
fix: try to run dange in PR correctly (#34375)
Browse files Browse the repository at this point in the history
Summary:
After #34370, Danger started failing because the `DANGER_GITHUB_API_TOKEN` was not properly set.
This PR fixes it.

## Changelog

[General] [Changed] - Set back the `DANGER_GITHUB_API_TOKEN`.

Pull Request resolved: #34375

Test Plan: Danger GitHub action is executed correctly.

Reviewed By: cortinico

Differential Revision: D38571718

Pulled By: cipolleschi

fbshipit-source-id: 51168098b4f910f6fefd2872f917e12daad1ec4c
  • Loading branch information
Riccardo Cipolleschi authored and facebook-github-bot committed Aug 10, 2022
1 parent cb02a6e commit 9344c7a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/danger_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ jobs:
- name: Danger
run: yarn danger ci --use-github-checks --failOnErrors
working-directory: bots
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9344c7a

Please sign in to comment.