Shortcuts update part 3: Added open new note intent and handler #128
Workflow file for this run
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, 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/reusable-run-danger.yml@v1.0.0 | |
secrets: | |
github-token: ${{ secrets.DANGERMATTIC_GITHUB_TOKEN }} |