SchildiChat-android/upstream_.github/workflows/danger.yml
SpiritCroc cd5f1d32a4 Automatic upstream merge postprocessing
Change-Id: I9cb252cda154749c59e64ddb30d897c4ecc0632b
2023-02-10 12:08:32 +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.3
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 }}