gitlab-dangerfiles 2.10.0 → 2.10.1
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 +4 -4
- data/LICENSE.txt +1 -1
- data/README.md +11 -1
- data/lib/danger/plugins/internal/helper.rb +1 -1
- data/lib/gitlab/dangerfiles/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fb3512fc2c750751c44df16f13e6d8d7c47b6a87f77030852b278725503d3994
|
|
4
|
+
data.tar.gz: b611380c2b6a8f9cd4372e6b63b7b6c13a125373551a706b9e4e11cf552bc270
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ba7680e6aecd1c1231118033e95cbed567a97f638467d2ce0a131ac5def26c0746e19c8117df0629f1c61a3b14706e56bde80945fe3ff3617f0d0a5b87d5e14f
|
|
7
|
+
data.tar.gz: 5a1df455e26146be92687f2e416f095f6ed9f7176576d13afce1d4a2d38ad0e928b7051b091323a0dc85e5f6a7b74e4fabf09b1ec88b447d089dea9ab9260844
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
|
@@ -131,7 +131,17 @@ project. To use it in your project, perform the following steps:
|
|
|
131
131
|
|
|
132
132
|
#### `type_label`
|
|
133
133
|
|
|
134
|
-
This rule ensures the merge request has a proper [type label](https://about.gitlab.com/handbook/engineering/metrics/#work-type-classification) set
|
|
134
|
+
This rule ensures the merge request has a proper [type label](https://about.gitlab.com/handbook/engineering/metrics/#work-type-classification) set.
|
|
135
|
+
|
|
136
|
+
If the `changelog` plugin is available, it also tries to infer a type label from the `Changelog` trailer of the MR.
|
|
137
|
+
|
|
138
|
+
#### `z_add_labels`
|
|
139
|
+
|
|
140
|
+
This rule adds labels set from other rules (via `helper.labels_to_add`), with a single API request.
|
|
141
|
+
|
|
142
|
+
#### `z_retry_link`
|
|
143
|
+
|
|
144
|
+
This rule adds a retry link to the job where Danger ran at the end of the Danger message, only if there's any other message to post.
|
|
135
145
|
|
|
136
146
|
### CI configuration
|
|
137
147
|
|
|
@@ -120,7 +120,7 @@ module Danger
|
|
|
120
120
|
# +modified_files+ might contain paths that already have been renamed,
|
|
121
121
|
# so we need to remove them from the list.
|
|
122
122
|
def all_changed_files
|
|
123
|
-
changes.files - changes.renamed_before.files
|
|
123
|
+
changes.files - changes.deleted.files - changes.renamed_before.files
|
|
124
124
|
end
|
|
125
125
|
|
|
126
126
|
# @param filename [String] A file name for which we want the diff.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gitlab-dangerfiles
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.10.
|
|
4
|
+
version: 2.10.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- GitLab
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-02
|
|
11
|
+
date: 2022-03-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: danger-gitlab
|