Skip to content

Commit

Permalink
Add Danger action to trigger Danger on Buildkite
Browse files Browse the repository at this point in the history
  • Loading branch information
iangmaia committed Sep 9, 2024
1 parent eaaa771 commit fbe7958
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/run-danger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: ☢️ Trigger Danger On Buildkite

on:
pull_request:
types: [labeled, unlabeled, ready_for_review]

jobs:
dangermattic:
if: ${{ (github.event.pull_request.draft == false) }}
uses: Automattic/dangermattic/.github/workflows/[email protected]
with:
org-slug: automattic
pipeline-slug: ci-toolkit-buildkite-plugin
retry-step-key: danger
build-commit-sha: ${{ github.event.pull_request.head.sha }}
secrets:
buildkite-api-token: ${{ secrets.TRIGGER_BK_BUILD_TOKEN }}

0 comments on commit fbe7958

Please sign in to comment.