mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-07 08:30:06 +00:00
It's good to have working and in ASAP, although better approaches are being researched and investigated
34 lines
777 B
YAML
34 lines
777 B
YAML
name: Danger PR Review
|
|
on:
|
|
pull_request_target:
|
|
types: [opened, edited, synchronize]
|
|
|
|
permissions:
|
|
contents: read
|
|
issues: write # What Danger needs to comment on PRs
|
|
pull-requests: write
|
|
statuses: write
|
|
|
|
jobs:
|
|
danger:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
fetch-depth: 0
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 'lts/*'
|
|
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
|
|
- name: Run Danger
|
|
run: npx danger ci
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} |