mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-17 06:47:09 +01:00
only master
This commit is contained in:
parent
4e0b3d36b7
commit
3db4c0f8a2
2 changed files with 11 additions and 7 deletions
|
|
@ -233,7 +233,7 @@ class TestReporter {
|
|||
core.setOutput('url', resp.data.url)
|
||||
core.setOutput('url_html', resp.data.html_url)
|
||||
|
||||
if (isFailed && this.slackWebhook) {
|
||||
if (isFailed && this.slackWebhook && this.context.branch === 'master') {
|
||||
const webhook = new IncomingWebhook(this.slackWebhook)
|
||||
const passed = results.reduce((sum, tr) => sum + tr.passed, 0)
|
||||
const skipped = results.reduce((sum, tr) => sum + tr.skipped, 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue