2022-07-29 10:00:49 +02: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
|
2022-08-23 01:07:54 +02:00
|
|
|
uses: danger/danger-js@11.1.2
|
2022-07-29 10:00:49 +02:00
|
|
|
with:
|
|
|
|
args: "--dangerfile tools/danger/dangerfile.js"
|
|
|
|
env:
|
|
|
|
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
|
2022-08-17 13:08:26 +02:00
|
|
|
# Fallback for forks
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|