You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
557 B
20 lines
557 B
name: Danger CI |
|
|
|
on: [pull_request, merge_group] |
|
|
|
jobs: |
|
build: |
|
runs-on: ubuntu-latest |
|
name: Danger main check |
|
steps: |
|
- uses: actions/checkout@v4 |
|
- run: | |
|
npm install --save-dev @babel/plugin-transform-flow-strip-types |
|
- name: Danger |
|
uses: danger/danger-js@12.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 }}
|
|
|