nerdexam
Microsoft

GH-200 · Question #11

Which statement is true regarding the ability to delete a workflow run?

The correct answer is C. Completed workflow runs may be deleted. In GitHub Actions, only completed workflow runs (those in a finished state such as success, failure, or cancelled) can be deleted. Pending or in-progress workflow runs cannot be deleted - they must first be cancelled. Admin access is not required; Write access to the repository…

Implement and manage GitHub Actions workflows

Question

Which statement is true regarding the ability to delete a workflow run?

Options

  • AAdmin access is required to delete a workflow run.
  • BPending workflow runs may be deleted.
  • CCompleted workflow runs may be deleted.
  • DWorkflow runs must be older than 30 days to be deleted.

How the community answered

(57 responses)
  • A
    4% (2)
  • B
    2% (1)
  • C
    95% (54)

Explanation

In GitHub Actions, only completed workflow runs (those in a finished state such as success, failure, or cancelled) can be deleted. Pending or in-progress workflow runs cannot be deleted - they must first be cancelled. Admin access is not required; Write access to the repository is sufficient to delete a workflow run. There is no minimum age requirement such as 30 days - a completed run can be deleted immediately after it finishes.

Topics

#Workflow runs#Deletion#Workflow management#GitHub Actions

Community Discussion

No community discussion yet for this question.

Full GH-200 Practice