1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Make AppVeyor notification colors consistent

It was using the same one as original AppVeyor's notification, but it's
just inconsistent with others like Travis and GitHub Actions.
This commit is contained in:
Takashi Kokubun 2019-08-19 09:46:55 +09:00
parent d106f08291
commit 4c13368972
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -135,7 +135,7 @@ notifications:
"title_link": "{{buildUrl}}", "title_link": "{{buildUrl}}",
"fallback": "AppVeyor Build {{projectName}} {{buildVersion}} {{status}}", "fallback": "AppVeyor Build {{projectName}} {{buildVersion}} {{status}}",
"text": "Commit <{{commitUrl}}|{{commitId}}> by {{commitAuthor}} on {{commitDate}}: _{{commitMessage}}_", "text": "Commit <{{commitUrl}}|{{commitId}}> by {{commitAuthor}} on {{commitDate}}: _{{commitMessage}}_",
"color": "{{#passed}}#44ee44{{/passed}}{{#failed}}#ee4444{{/failed}}" "color": "{{#passed}}good{{/passed}}{{#failed}}danger{{/failed}}"
} }
], ],
"channel": "#alerts" "channel": "#alerts"
@ -157,7 +157,7 @@ notifications:
"title_link": "{{buildUrl}}", "title_link": "{{buildUrl}}",
"fallback": "AppVeyor Build {{projectName}} {{buildVersion}} {{status}}", "fallback": "AppVeyor Build {{projectName}} {{buildVersion}} {{status}}",
"text": "Commit <{{commitUrl}}|{{commitId}}> by {{commitAuthor}} on {{commitDate}}: _{{commitMessage}}_", "text": "Commit <{{commitUrl}}|{{commitId}}> by {{commitAuthor}} on {{commitDate}}: _{{commitMessage}}_",
"color": "{{#passed}}#44ee44{{/passed}}{{#failed}}#ee4444{{/failed}}" "color": "{{#passed}}good{{/passed}}{{#failed}}danger{{/failed}}"
} }
], ],
"channel": "#commits" "channel": "#commits"