Skip to content
Kitbay
Submit

github-script

MITUpdated on Nov 11, 20265,616GitHub stars

Coding guidance from the gh-aw repository for JavaScript that runs inside the actions/github-script step of a GitHub Actions workflow.

What the skill teaches

Coding guidance from the gh-aw repository for JavaScript that runs inside the actions/github-script step of a GitHub Actions workflow. It tells the agent that the core and github toolkit packages are already available, to log and set outputs through core functions rather than console, to write step summaries with the summary helper and flush them, and to check error types before reading messages. The closing section points to gh-aw's own make targets for type checking, linting and formatting, so parts of it apply only inside that repository. No scripts are included.

Capabilities

  • Write JavaScript for actions/github-script steps
  • Set outputs, variables and step summaries with the Actions toolkit