SchildiChat-android/.github/workflows/danger.yml
SpiritCroc 57c03de1c8 [TMP] Automatic upstream merge preparation
Change-Id: Ic28194df6bace036123bd1c0263e24fc7397b360
2022-12-30 14:49:39 +01:00

20 lines
533 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.2.0
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 }}