Diese Version von GitHub Enterprise wurde eingestellt am 2021-09-23. Es wird keine Patch-Freigabe vorgenommen, auch nicht für kritische Sicherheitsprobleme. Für eine bessere Leistung, verbesserte Sicherheit und neue Features nimm ein Upgrade auf die neueste Version von GitHub Enterprise vor. Wende Dich an den GitHub Enterprise-Support, um Hilfe beim Upgrade zu erhalten.

Viewing workflow run history

You can view logs for each run of a workflow. Logs include the status for each job and step in a workflow.

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.

Note: GitHub Actions was available for GitHub Enterprise Server 2.22 as a limited beta. The beta has ended. GitHub Actions is now generally available in GitHub Enterprise Server 3.0 or later. For more information, see the GitHub Enterprise Server 3.0 release notes.


Note: GitHub-hosted runners are not currently supported on GitHub Enterprise Server. You can see more information about planned future support on the GitHub public roadmap.

Viewing workflow run history on GitHub

Read access to the repository is required to perform these steps.

  1. Navigiere in GitHub Enterprise Server zur Hauptseite des Repository.
  2. Klicke unter Deinem Repository-Namen auf Actions (Aktionen). Registerkarte „Actions" (Aktionen) auf der Navigationsleiste des Haupt-Repository
  3. Klicke in der linken Seitenleiste auf den Workflow, den Du sehen willst. Workflow-Liste in der linken Seitenleiste
  4. From the list of workflow runs, click the name of the run you want to see. Name der Workflow-Ausführung

Viewing workflow run history with GitHub CLI

Viewing recent workflow runs

To list the recent workflow runs, use the run list subcommand.

gh run list

To specify the maximum number of runs to return, you can use the -L or --limit flag . The default is 10.

gh run list --limit 5

To only return runs for the specified workflow, you can use the -w or --workflow flag. Replace workflow with either the workflow name, workflow ID, or workflow file name. For example, "Link Checker", 1234567, or "link-check-test.yml".

gh run list --workflow workflow

Viewing details for a specific workflow run

To display details for a specific workflow run, use the run view subcommand. Replace run-id with the ID of the run that you want to view. If you don't specify a run-id, GitHub CLI returns an interactive menu for you to choose a recent run.

gh run view run-id

To include job steps in the output, use the -v or --verbose flag.

gh run view run-id --verbose

To view details for a specific job in the run, use the -j or --job flag. Replace job-id with the ID of the job that you want to view.

gh run view --job job-id

To view the full log for a job, use the --log flag.

gh run view --job job-id --log

Use the --exit-status flag to exit with a non-zero status if the run failed. Ein Beispiel:

gh run view 0451 --exit-status && echo "run pending or passed"