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