Use a Mermaid graph in the backmerge PR body #351
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ☢️ Danger | |
on: | |
pull_request: | |
types: [opened, reopened, ready_for_review, synchronize, edited, review_requested, review_request_removed, labeled, unlabeled, milestoned, demilestoned] | |
jobs: | |
dangermattic: | |
# runs on draft PRs only for opened / synchronize events | |
if: ${{ (github.event.pull_request.draft == false) || (github.event.pull_request.draft == true && contains(fromJSON('["opened", "synchronize"]'), github.event.action)) }} | |
uses: Automattic/dangermattic/.github/workflows/[email protected] | |
secrets: | |
github-token: ${{ secrets.DANGERMATTIC_GITHUB_TOKEN }} |