@ckeditor/ckeditor5-dev-ci 38.1.1 → 38.1.3
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.
- package/README.md +0 -1
- package/bin/notify-circle-status.js +2 -2
- package/lib/data/bots.json +2 -1
- package/lib/data/members.json +2 -2
- package/lib/format-message.js +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,7 +3,6 @@ CKEditor 5 CI utilities
|
|
|
3
3
|
|
|
4
4
|
[](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-ci)
|
|
5
5
|
[](https://app.travis-ci.com/github/ckeditor/ckeditor5-dev)
|
|
6
|
-

|
|
7
6
|
|
|
8
7
|
Utils for [CKEditor 5](https://ckeditor.com) CI builds.
|
|
9
8
|
|
|
@@ -123,8 +123,8 @@ function getTriggeringCommitUrl() {
|
|
|
123
123
|
let repoSlug, hash;
|
|
124
124
|
|
|
125
125
|
if ( CKE5_TRIGGER_REPOSITORY_SLUG && CKE5_TRIGGER_COMMIT_HASH ) {
|
|
126
|
-
repoSlug = CKE5_TRIGGER_REPOSITORY_SLUG;
|
|
127
|
-
hash = CKE5_TRIGGER_COMMIT_HASH;
|
|
126
|
+
repoSlug = CKE5_TRIGGER_REPOSITORY_SLUG.trim();
|
|
127
|
+
hash = CKE5_TRIGGER_COMMIT_HASH.trim();
|
|
128
128
|
} else {
|
|
129
129
|
repoSlug = [ CIRCLE_PROJECT_USERNAME, CIRCLE_PROJECT_REPONAME ].join( '/' );
|
|
130
130
|
hash = CIRCLE_SHA1;
|
package/lib/data/bots.json
CHANGED
package/lib/data/members.json
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"apadol-cksource": "U03HB5SSYCS",
|
|
5
5
|
"arkflpc": "U027XSCTX09",
|
|
6
6
|
"Comandeer": "U0BK6HSJJ",
|
|
7
|
+
"dagdzi": "U05A8T93RK8",
|
|
7
8
|
"DawidKossowski": "U0401V31S9M",
|
|
8
9
|
"dufipl": "U02SG0U25GS",
|
|
9
10
|
"Dumluregn": "UGG2JE7JR",
|
|
@@ -13,11 +14,10 @@
|
|
|
13
14
|
"gorzelinski": "U04DJ7BKSKU",
|
|
14
15
|
"illia-stv": "U048K896SCE",
|
|
15
16
|
"jacekbogdanski": "U8LAY97DE",
|
|
16
|
-
"kbinieda": "U0401V2TGG7",
|
|
17
|
-
"ldrobnik": "U04DJ7B7ZCJ",
|
|
18
17
|
"LukaszGudel": "U01FRHAT8T1",
|
|
19
18
|
"mabryl": "U045033D401",
|
|
20
19
|
"martnpaneq": "U045B560E00",
|
|
20
|
+
"michalbilik": "U05ACEATLA1",
|
|
21
21
|
"Mgsy": "U5A38S2PN",
|
|
22
22
|
"mlewand": "U03UQQ1N3",
|
|
23
23
|
"mmotyczynska": "U02NSTQCTB8",
|
package/lib/format-message.js
CHANGED
|
@@ -81,15 +81,15 @@ function getNotifierMessage( options ) {
|
|
|
81
81
|
return '_The author of the commit was hidden. <https://github.com/ckeditor/ckeditor5/issues/9252|Read more about why.>_';
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
// If the author of the commit could not be obtained, let's ping the entire team.
|
|
85
|
-
if ( !slackAccount ) {
|
|
86
|
-
return `@channel (${ options.commitAuthor }), could you take a look?`;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
84
|
if ( bots.includes( options.githubAccount ) ) {
|
|
90
85
|
return '_This commit is a result of merging a branch into another branch._';
|
|
91
86
|
}
|
|
92
87
|
|
|
88
|
+
// If the author of the commit could not be obtained, let's ping the entire team.
|
|
89
|
+
if ( !slackAccount ) {
|
|
90
|
+
return `<!channel> (${ options.commitAuthor }), could you take a look?`;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
93
|
return `<@${ slackAccount }>, could you take a look?`;
|
|
94
94
|
}
|
|
95
95
|
|