diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f37e57c9..fb7077be5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [1.0.3](https://github.com/Skitionek/notify-microsoft-teams/compare/v1.0.2...v1.0.3) (2020-04-24) + + +### Bug Fixes + +* flood with notifications upon relase publishing ([f9057c0](https://github.com/Skitionek/notify-microsoft-teams/commit/f9057c0665c7343d5eb020c3b70a98626decbaee)) + ## [1.0.2](https://github.com/Skitionek/notify-microsoft-teams/compare/v1.0.1...v1.0.2) (2020-04-24) diff --git a/dist/index.js b/dist/index.js index 2d9bb6c4f..7a427ff13 100644 --- a/dist/index.js +++ b/dist/index.js @@ -26594,7 +26594,7 @@ async function run() { core.info(`Generated payload for Microsoft Teams:\n${JSON.stringify(payload, null, 2)}`); - if (dry_run === '') { + if (dry_run === '' || dry_run==='false') { await msteams.notify(webhook_url, payload); core.info('Sent message to Microsoft Teams'); } else { diff --git a/src/index.js b/src/index.js index 1d65f2451..3c4fbefcf 100644 --- a/src/index.js +++ b/src/index.js @@ -57,7 +57,7 @@ async function run() { core.info(`Generated payload for Microsoft Teams:\n${JSON.stringify(payload, null, 2)}`); - if (dry_run === '') { + if (dry_run === '' || dry_run==='false') { await msteams.notify(webhook_url, payload); core.info('Sent message to Microsoft Teams'); } else {