event filter

Keys under an event, such as branches, tags and paths, that narrow which pushes or pull requests start a workflow.

In more detail

Each filter has an ignore twin that inverts it. A paths filter is a cheap speed-up because the fastest job is the one that never starts, but it has a trap: if a required check is skipped by a paths filter, it never reports and the pull request cannot merge.

Example

paths:
  - 'app/**'
  - 'tests/**'

Related terms

Taught in

References

Certification courses