Skip to content

Commit 046870f

Browse files
committed
refactor: only trigger material.aio workflows when files touched in that folder
1 parent 233670c commit 046870f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/ci.material-aio.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
branches:
66
- main
77
- '[0-9]+.[0-9]+.x'
8+
paths:
9+
- 'material.angular.io/**'
810

911
concurrency:
1012
group: ${{ github.workflow }}-${{ github.ref }}

.github/workflows/pr.material-aio.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: 'CI (material.angular.io)'
33
on:
44
pull_request:
55
types: [opened, synchronize, reopened]
6+
paths:
7+
- 'material.angular.io/**'
68

79
concurrency:
810
group: ${{ github.workflow }}-${{ github.ref }}

0 commit comments

Comments
 (0)