Skip to main content
Module

x/actionify/mod.ts>commands.notice

Create and manage your GitHub workflows with TypeScript and Deno.
Go to Latest
function commands.notice
import { commands } from "https://deno.land/x/actionify@0.2.0/mod.ts";
const { notice } = commands;

Creates a notice message and prints the message to the log. This message will create an annotation, which can associate the message with a particular file in your repository. Optionally, your message can specify a position within the file.

import { step, commands } from 'https://deno.land/x/actionify@0.2.0/mod.ts';

const exampleStep = step()
  .run(commands.notice(
    'This is a notice', {
      file: 'app.js',
      line: 1,
      col: 5,
      endColumn: 7,
  }));

Parameters

message: ExpressionValue
optional
options: NoticeOptions = [UNSUPPORTED]

Returns

Command<DefaultCommandTypes>