diff --git a/web_src/js/components/ActionRunView.test.ts b/web_src/js/components/ActionRunView.test.ts index 1f972b73c0d..b625b15e717 100644 --- a/web_src/js/components/ActionRunView.test.ts +++ b/web_src/js/components/ActionRunView.test.ts @@ -16,6 +16,7 @@ test('LogLineMessage', () => { '::warning file=test.js,line=1::foo': 'Warning: foo', '::notice::foo': 'Notice: foo', '::debug::foo': 'Debug: foo', + '##[command] foo': ' foo', '[command] foo': ' foo', // hidden is special, it is actually skipped before creating diff --git a/web_src/js/components/ActionRunView.ts b/web_src/js/components/ActionRunView.ts index 91fe8329bd0..a9a6695241a 100644 --- a/web_src/js/components/ActionRunView.ts +++ b/web_src/js/components/ActionRunView.ts @@ -20,6 +20,7 @@ const LogLinePrefixCommandMap: Record = { '##[warning]': 'warning', '##[notice]': 'notice', '##[debug]': 'debug', + '##[command]': 'command', '[command]': 'command', // https://github.com/actions/toolkit/blob/master/docs/commands.md