SchildiChat-android/.github/workflows/danger.yml
SpiritCroc 7999ecac6f [TMP] Automatic upstream merge preparation
Change-Id: Ie51002a5796e281ec454fff5dd6d7c5383efc6f6
2023-05-22 12:18:06 +02: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.6
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 }}