Skip to content

Commit ab160a5

Browse files
authored
Correct duplicate branch-paths-filter.md paragraph
1 parent b64f820 commit ab160a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -901,13 +901,13 @@ on:
901901
```
902902

903903
> [!NOTE]
904-
> {% data reusables.actions.branch-paths-filter %} For example, the following workflow will only run when a push that includes a change to a JavaScript (`.js`) file is made to a branch whose name starts with `releases/`:
904+
> {% data reusables.actions.tag-paths-filter %} For example, the following workflow will only run when a push that includes a change to a JavaScript (`.js`) file is made to a tag that starts with `v1.`.
905905
>
906906
> ```yaml
907907
> on:
908908
> push:
909-
> branches:
910-
> - 'releases/**'
909+
> tags:
910+
> - v1.**
911911
> paths:
912912
> - '**.js'
913913
> ```

0 commit comments

Comments
 (0)