Skip to content

Commit 5c480f6

Browse files
committed
chore(ci): optimize the diff action
1 parent 56154ad commit 5c480f6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ci-diff.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ name: CI Diff
33
on:
44
pull_request:
55
types: [opened, synchronize, reopened]
6+
# Ignore md files in PR to skip workflow when only documentation changes
7+
paths-ignore:
8+
- "**/*.md"
9+
- "website/**"
610

711
push:
812
branches:
913
- main
10-
paths-ignore:
11-
- "**/*.md"
12-
- "website/**"
1314

1415
concurrency:
1516
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

0 commit comments

Comments
 (0)