Split building for ASC from uploading to TestFlight and run as separate CI steps #545
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/[email protected] | |
secrets: | |
github-token: ${{ secrets.DANGERMATTIC_GITHUB_TOKEN }} |