Skip to content
LearningPathX
Learning PathsFree TestsExam InfoHow it worksNews
Sign inChoose a certification
  1. Home/
  2. Certifications/
  3. GH-700/
  4. GH-700 Learning Path/
  5. Study FAQs/
  6. How do I cancel a GitHub Actions workflow run and check whether its jobs stopped?

Study FAQ

How do I cancel a GitHub Actions workflow run and check whether its jobs stopped?

Exam · GH-700Knowledge domain · Perform human-in-the-loop tasks for agentic workflows (20–25%)Updated Nov 19, 2026
Also asked as 2
  • What is the cancellation and verification procedure for an Actions workflow run?
  • What should I do and verify when canceling a GitHub Actions run?

Answer

With repository write access, open Actions, select the workflow, open the intended queued or in-progress run and choose Cancel workflow. Then inspect the run and job activity: cancellation is a process, and job conditions can allow work to continue.

GitHub re-evaluates if conditions for currently running jobs. A condition that remains true, such as always(), can keep a job running. Conditions on unfinished steps in continuing jobs are also re-evaluated. For work selected for cancellation, GitHub notifies runners, which interrupt and, when necessary, terminate the processes.

Confirm the repository, run identity, revision and inputs before acting. Other runs of the same workflow can continue independently. If you lack write access, give the precise run identity and reason to an authorized owner.

After requesting cancellation, check the observed run state and any remaining job. If a job continues, inspect its condition and logs instead of assuming the request failed or changing unrelated permissions. Separately verify effects already completed, such as commits, issue updates or external actions. A canceled status does not reverse them.

Preserve the cancellation request, observed execution state and discovered effects as separate facts before a retry or recovery decision.

References: Canceling a workflow run - GitHub Docs, Workflow cancellation reference - GitHub Docs.

Full explanation

GH-700: Steer and Stop Agent Runs Without Assuming Rollback

Study guide · GH-700

Read the full explanation →
← Back to GH-700 FAQsView learning path →

Related questions

How do I diagnose an agent workflow failure before changing its configuration? →How do I decide whether an agent-generated business output is ready to accept? →Can Copilot content exclusion guarantee that sensitive files cannot be accessed? →Does a local Copilot session keep its working record only on my computer? →How do I keep a Copilot business task within draft-only authority? →Do organization custom instructions govern every Copilot session? →
LearningPathX

A focused path to certification, one clear step at a time.

© 2026 LearningPathX. All rights reserved.

Product

CertificationsLearning PathsFree TestsHow it worksNews

Company

SubscriptionHelp centerContact usPrivacyTerms

Follow us

Your privacy choices

We use analytics cookies to understand how LearningPathX is used and improve your learning experience. Analytics will only start after you accept.