-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
106 additions
and
21 deletions.
There are no files selected for viewing
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
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
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, milestoned, demilestoned, 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: gravatar-sdk-ios | ||
retry-step-key: danger | ||
build-commit-sha: ${{ github.event.pull_request.head.sha }} | ||
secrets: | ||
buildkite-api-token: ${{ secrets.TRIGGER_BK_BUILD_TOKEN }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# frozen_string_literal: true | ||
|
||
github.dismiss_out_of_range_messages | ||
|
||
# `files: []` forces rubocop to scan all files, not just the ones modified in the PR | ||
# `skip_bundle_exec` prevents RuboCop from running using `bundle exec`, which we don't want on the linter agent | ||
rubocop.lint(files: [], force_exclusion: true, inline_comment: true, fail_on_inline_comment: true, | ||
include_cop_names: true, skip_bundle_exec: true) | ||
|
||
manifest_pr_checker.check_gemfile_lock_updated | ||
|
||
labels_checker.check( | ||
do_not_merge_labels: ['do not merge'], | ||
) |
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
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