Research-Stack/5-Applications/nodupe/.github/workflows/pr-validation.yml
2026-05-05 21:15:26 -05:00

28 lines
605 B
YAML

name: PR Validation
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
danger:
runs-on: ubuntu-latest
name: Danger
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Danger needs history to compare
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
pip install danger-python
- name: Run Danger
env:
DANGER_GITHUB_API_TOKEN: ${{ SECRET_REMOVEDs.GITHUB_TOKEN }}
run: danger-python ci