Managing GitHub Actions with GitHub CLI

You can use GitHub CLI to interact with GitHub Actions.

GitHub Actions ist verfügbar mit GitHub Free, GitHub Pro, GitHub Free für Organisationen, GitHub Team, GitHub Enterprise Cloud, und GitHub AE. GitHub Actions ist nicht verfügbar für private Repositorys, die im Besitz von Konten mit älteren Pro-Repository-Plänen sind. For more information, see "GitHub's products."

GitHub CLI einrichten

To download or upgrade GitHub CLI, follow the instructions in the GitHub CLI README. To access all of the GitHub Actions-related commands, you must use version 1.9.0 or greater. For more information about GitHub CLI, see the GitHub CLI manual.

GitHub CLI can authenticate using your GitHub account. Before running GitHub CLI commands, you will need to authenticate by running gh auth login. For more information on command line authentication, see "gh auth login."

GitHub CLI commands must be run within the repository that you want to interact with, so you must first navigate to the directory containing the local copy of your repository. Alternatively, you can specify a repository by passing -R OWNER/REPOSITORY or --repo OWNER/REPOSITORY. Replace OWNER with owner of the repository. Ersetzen Sie REPOSITORY durch den Namen des Repositorys.

Managing GitHub Actions with GitHub CLI

To view all available commands related to GitHub Actions, run gh actions.

For more information on using commands in specific scenarios, see the following procedures:

Did this doc help you?Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Oder, learn how to contribute.