SchildiChat-android/upstream_.github/workflows/danger.yml
SpiritCroc b79db7b840 Automatic upstream merge postprocessing
Change-Id: I07058b251c3bc2bcf4a148bf1e1edc9490a8009f
2024-08-02 17:59:22 +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@v4
- 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 }}