[Tooling] Use buildkite_pipeline_upload
action to inline Buildkite release pipelines
#5865
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: ☢️ Trigger Danger On Buildkite | |
on: | |
pull_request: | |
types: [labeled, unlabeled, milestoned, demilestoned, ready_for_review, edited] | |
jobs: | |
dangermattic: | |
if: ${{ (github.event.pull_request.draft == false) }} | |
uses: Automattic/dangermattic/.github/workflows/reusable-retry-buildkite-step-on-events.yml@1.2.0 | |
with: | |
org-slug: "automattic" | |
pipeline-slug: "wordpress-android" | |
retry-step-key: "danger" | |
build-commit-sha: "${{ github.event.pull_request.head.sha }}" | |
secrets: | |
buildkite-api-token: ${{ secrets.TRIGGER_BK_BUILD_TOKEN }} |