How do you skip CI for a commit, and when does the skip not apply?
BeginnerConceptTriggers & Events
Answer
Include [skip ci], [ci skip], [no ci], [skip actions] or [actions skip] in the commit message (or a skip-checks: true trailer). It applies to push and pull_request events, using the HEAD commit. It does not apply to other events, and it leaves required checks pending, so the PR cannot merge until something runs. In practice we use path filters for docs-only changes rather than relying on commit messages.
More on Triggers & Events
How do you trigger a workflow on pushes to `main` and on PRs that target `main`?BeginnerWhat activity types does `pull_request` trigger on by default, and how do you add more?IntermediateHow do `branches` and `branches-ignore` filters work with globs?BeginnerHow do path filters work, and what are their limits?AdvancedHow do you trigger only on version tags, and what is the gotcha with pushing many tags?IntermediateWhat is `workflow_dispatch`, and what input types does it support?Beginner