SchildiChat-android/upstream_.github/workflows/danger.yml
SpiritCroc 541c6ec25b Automatic upstream merge postprocessing
Change-Id: Ie35d8041388e6a08ff9e1f2672711e2c81c7bd5e
2022-12-03 11:33:25 +01:00

20 lines
531 B
YAML

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
uses: danger/danger-js@11.1.4
with:
args: "--dangerfile tools/danger/dangerfile.js"
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
# Fallback for forks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}