SchildiChat-android/.github/workflows/danger.yml
SpiritCroc eb6fe44d3f [TMP] Automatic upstream merge preparation
Change-Id: I93aea9ea61ff5dbc6e56f7c1ac1db9b92f301b5d
2022-11-10 09:54:44 +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 }}