mirror of
https://github.com/vector-im/element-android.git
synced 2024-12-01 16:01:36 +08:00
21 lines
533 B
YAML
21 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 }}
|