diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-22 21:07:44 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-22 21:07:44 +0300 |
commit | d0f16d56f3716d4a60027eb261f12080094f8db3 (patch) | |
tree | f9ecf9f4bda6d761f612bc4a5efb701b7c6b3d2d /danger | |
parent | 68aa32736b50c3609348f3bf740b81a2dfd1fb25 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'danger')
-rw-r--r-- | danger/plugins/sidekiq_args.rb | 10 | ||||
-rw-r--r-- | danger/sidekiq_args/Dangerfile | 5 |
2 files changed, 15 insertions, 0 deletions
diff --git a/danger/plugins/sidekiq_args.rb b/danger/plugins/sidekiq_args.rb new file mode 100644 index 00000000000..2210aa66b07 --- /dev/null +++ b/danger/plugins/sidekiq_args.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +require_relative '../../tooling/danger/sidekiq_args' + +module Danger + class SidekiqArgs < ::Danger::Plugin + # Put the helper code somewhere it can be tested + include Tooling::Danger::SidekiqArgs + end +end diff --git a/danger/sidekiq_args/Dangerfile b/danger/sidekiq_args/Dangerfile new file mode 100644 index 00000000000..fdd582889f3 --- /dev/null +++ b/danger/sidekiq_args/Dangerfile @@ -0,0 +1,5 @@ +# frozen_string_literal: true + +sidekiq_args.changed_worker_files.each do |filename| + sidekiq_args.add_comment_for_matched_line(filename) +end |