diff --git a/action.js b/action.js index 0883ae7..8182a26 100644 --- a/action.js +++ b/action.js @@ -190,7 +190,7 @@ module.exports = async ( if (field.name === effortName) { field.options.forEach(effort => { effortMappingObj.forEach(element => { - if (effort.name.toLowerCase().includes(element.pattern.toLowerCase())) { + if (effort.name.toLowerCase() === element.pattern.toLowerCase()) { if (element.value !== Infinity) { effortMessage += ` - ${effort.name}: ${element.value} day(s) or less,\n`; } else {