2022-07-29 11:00:49 +03:00
|
|
|
name: Danger CI
|
|
|
|
|
|
|
|
on: [pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
name: Danger
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- run: |
|
|
|
|
npm install --save-dev @babel/plugin-transform-flow-strip-types
|
|
|
|
- name: Danger
|
2023-03-07 02:57:30 +03:00
|
|
|
uses: danger/danger-js@11.2.4
|
2022-07-29 11:00:49 +03:00
|
|
|
with:
|
2022-12-08 12:48:17 +03:00
|
|
|
args: "--dangerfile ./tools/danger/dangerfile.js"
|
2022-07-29 11:00:49 +03:00
|
|
|
env:
|
|
|
|
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
|
2022-08-17 14:08:26 +03:00
|
|
|
# Fallback for forks
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|