Skip to content

Commit 56154ad

Browse files
authored
chore(ci): skip diff action for doc-only changes (#12437)
chore(ci): optimize the diff action
1 parent 19c6cd7 commit 56154ad

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci-diff.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
push:
88
branches:
99
- main
10+
paths-ignore:
11+
- "**/*.md"
12+
- "website/**"
1013

1114
concurrency:
1215
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
@@ -30,8 +33,8 @@ jobs:
3033
prefer_docker: false
3134
ref: ${{ github.event.pull_request.head.sha }}
3235

33-
demo-test:
34-
name: Demo Test
36+
diff-projects:
37+
name: Diff Benchmark Projects
3538
needs: build
3639
runs-on: ${{ fromJSON(vars.LINUX_SELF_HOSTED_RUNNER_LABELS || '"ubuntu-22.04"') }}
3740
defaults:

0 commit comments

Comments
 (0)