1
0
mirror of synced 2025-12-29 18:00:57 -05:00
Files
docs/data/reusables/actions/workflows/triggering-a-workflow-paths2.md

724 B

If at least one path matches a pattern in the paths filter, the workflow runs. For example, the following workflow would run anytime you push a JavaScript file (.js).

on:
  push:
    paths:
      - '**.js'

{% data reusables.pull_requests.path-filtering-required-workflows %}

If a workflow is skipped due to path filtering, branch filtering, or a commit message, then checks associated with that workflow will remain in a "Pending" state. A pull request that requires those checks to be successful will be blocked from merging.