diff --git a/index.js b/index.js index 357a81c..6204b6a 100644 --- a/index.js +++ b/index.js @@ -48,6 +48,10 @@ const setOutput = (major, minor, patch, increment, changed, branch, namespace) = const repository = process.env.GITHUB_REPOSITORY; + if (!changed) { + core.info('No changes detected for this commit'); + } + core.info(`Version is ${major}.${minor}.${patch}+${increment}`); if (repository !== undefined && !namespace) { core.info(`To create a release for this version, go to https://github.com/${repository}/releases/new?tag=${tag}&target=${branch.split('/').reverse()[0]}`);