gitlab-triage 1.44.3 → 1.44.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ec35de876067e863f90ccd2e710fc3fec357e54ce8aa434782a2f6aeab141b17
4
- data.tar.gz: 60e3707faa5bebbb3990d510bb9f0d2c533decd8005178ab023793bcb1cab9d5
3
+ metadata.gz: d7dcf562327f4c1cb9000f202742fef19e6f98d4cb2c1366fdc4e4ddc12e92e3
4
+ data.tar.gz: c4d846bf074fd836674a00243214cd46bf4646533f5491e135411d1fd70bfc1d
5
5
  SHA512:
6
- metadata.gz: f05a3cbbe84e5b1fe9fa7f8ea57b696fd85d2f4fb19f2677dd0dbdcb5ff06717176860fa7acbcc52105969da39642407798801cb2a7e2fd32d3ebfb345abe706
7
- data.tar.gz: 360caaecae0cbb7cadebf00e759a641acdf1f57beb5377993cb50ce1737ddba75b4bf8b0adb73814baddd8566aff687add4ad337918af1a74ba851e356c4fab5
6
+ metadata.gz: d530580eb38b4ebdd08607854caf8472dbb818a5371ba94e086f3ce0c94fe9df4d46c600fd82f54c1d200b006cf2ba3a644bcb07fe0eb9e343e7528cc873d5df
7
+ data.tar.gz: 31c116393ec4e4c4941737ed595efba31dc6f7060c0ff0ef7cb5b8549bc3ae9af619ec0155f157600c4d1358ef337d39888ad1ed9677421d2311a66426101b46
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitlab-triage (1.44.3)
4
+ gitlab-triage (1.44.5)
5
5
  activesupport (>= 5.1)
6
6
  globalid (~> 1.0, >= 1.0.1)
7
7
  graphql (< 2.1.0)
@@ -61,6 +61,16 @@ module Gitlab
61
61
  end
62
62
 
63
63
  def perform(resource, comment)
64
+ if network.options.debug
65
+ if policy.actions.fetch(:redact_confidential_resources, true) && resource[:confidential]
66
+ puts Gitlab::Triage::UI.debug "Comment action resource: (confidential)"
67
+ else
68
+ puts Gitlab::Triage::UI.debug "Comment action resource: #{resource.inspect}"
69
+ end
70
+
71
+ puts Gitlab::Triage::UI.debug "Comment action content: #{comment}"
72
+ end
73
+
64
74
  network.post_api(
65
75
  build_post_url(resource),
66
76
  post_body(comment))
@@ -79,7 +89,7 @@ module Gitlab
79
89
  # POST /(groups|projects)/:id/(epics|issues|merge_requests)/:iid/notes
80
90
  post_url = UrlBuilders::UrlBuilder.new(url_builder_opts).build
81
91
 
82
- puts Gitlab::Triage::UI.debug "post_url: #{post_url}" if network.options.debug
92
+ puts Gitlab::Triage::UI.debug "Comment action post_url: #{post_url}" if network.options.debug
83
93
 
84
94
  post_url
85
95
  end
@@ -152,7 +152,7 @@ module Gitlab
152
152
  args =
153
153
  case condition.to_s
154
154
  when 'forbidden_labels'
155
- ['labels', condition_params, { negated: true }]
155
+ ['labelName', condition_params, { negated: true }]
156
156
  when 'labels'
157
157
  ['labelName', condition_params, {}]
158
158
  else
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Gitlab
4
4
  module Triage
5
- VERSION = '1.44.3'
5
+ VERSION = '1.44.5'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-triage
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.44.3
4
+ version: 1.44.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitLab
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-06 00:00:00.000000000 Z
11
+ date: 2025-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -339,7 +339,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
339
339
  - !ruby/object:Gem::Version
340
340
  version: '0'
341
341
  requirements: []
342
- rubygems_version: 3.3.27
342
+ rubygems_version: 3.5.22
343
343
  signing_key:
344
344
  specification_version: 4
345
345
  summary: GitLab triage automation project.