Interview Prep/GitHub Actions/Triggers & Events

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.

All GitHub Actions questions Roadmap: GitHub Actions

More on Triggers & Events