Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/actionify/config/deps/github.ts

Create and manage your GitHub workflows with TypeScript and Deno.
Latest
import * as actionify from "https://deno.land/x/actionify@0.3.0/config/deps/github.ts";

Enums

The code to exit an action

Functions

Prepends inputPath to the PATH (for this action and future actions)

Writes debug message to user log

End an output group.

Adds an error issue

Sets env variable for this action and future actions in the job

Gets the input value of the boolean type in the YAML 1.2 "core schema" specification. Support boolean input list: true | True | TRUE | false | False | FALSE . The return value is also in boolean type. ref: https://yaml.org/spec/1.2/spec.html#id2804923

Gets the value of an input. Unless trimWhitespace is set to false in InputOptions, the value is also trimmed. Returns an empty string if the value is not defined.

Gets the values of an multiline input. Each value is also trimmed.

Gets the value of an state set by this action's main execution.

Wrap an asynchronous function call in a group.

Writes info to log with console.log.

Gets whether Actions Step Debug is on or not

Adds a notice issue

Saves state for current action, the state can only be retrieved by this action's post job execution.

Enables or disables the echoing of commands into stdout for the rest of the step. Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.

Sets the action status to failed. When the action exits it will be with an exit code of 1

Sets the value of an output.

Registers a secret which will get masked from logs

Begin an output group.

toPlatformPath converts the given path to a platform-specific path. It does this by replacing instances of / and \ with the platform-specific path separator.

toPosixPath converts the given path to the posix form. On Windows, \ will be replaced with /.

toWin32Path converts the given path to the win32 form. On Linux, / will be replaced with \.

Adds a warning issue

Returns a hydrated octokit ready to use for GitHub Actions

Interfaces

Optional properties that can be sent with annotatation commands (notice, error, and warning) See: https://docs.github.com/en/rest/reference/checks#create-a-check-run for more information about annotations.

Interface for getInput options