diff --git a/actions/setup/js/check_command_position.cjs b/actions/setup/js/check_command_position.cjs index e945c7bbb44..2910b3285f0 100644 --- a/actions/setup/js/check_command_position.cjs +++ b/actions/setup/js/check_command_position.cjs @@ -136,7 +136,7 @@ async function main() { core.setOutput("matched_command", ""); await writeDenialSummary( `The trigger comment did not start with a required command. Expected one of: ${expectedCommands}. Found: \`${firstWord}\`.`, - "Make sure the trigger comment starts with the required command defined in `on.command:` in the workflow frontmatter." + "Make sure the trigger comment starts with the required command defined in `on.slash_command:` in the workflow frontmatter." ); } } catch (error) {