Skip to content

Commit 189bc48

Browse files
author
trustdemons05
committed
Add note about git submodule path matching for workflow triggers
1 parent ecb3e3d commit 189bc48

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

data/reusables/actions/workflows/triggering-a-workflow-paths1.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ Use the `paths` filter when you want to include file path patterns or when you w
1111
If you define both `branches`/`branches-ignore` and `paths`/`paths-ignore`, the workflow will only run when both filters are satisfied.
1212

1313
The `paths` and `paths-ignore` keywords accept glob patterns that use the `*` and `**` wildcard characters to match more than one path name. For more information, see the [AUTOTITLE](/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet).
14+
15+
> [!NOTE]
16+
> If you want to trigger a workflow when a change is made to a file inside a git submodule, use the path to the top-level submodule directory. Path filters cannot match files inside a submodule.

0 commit comments

Comments
 (0)