The Wayback Machine - https://web.archive.org/web/20220608163150/https://lab.github.com/docs/actions/octokit/
On September 1, 2022, GitHub Learning Lab will shut down.
Read more on the GitHub blog and check out GitHub Skills for courses backed by GitHub Actions.

← Back

octokit

Calls a method in the Octokit library. https://octokit.github.io/rest.js/

Examples

Use the repos.update method to change the repository's description:

type: octokit
method: repos.update
description: Description of the repository

Options

Title Property Description Default Required
Method method The method on the Octokit SDK to use. This should be a string like issues.create.