Skip to content

Commit ea30f11

Browse files
authored
Ignore markdown files to save CI time (#5526)
https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#onpushpull_requestpull_request_targetpathspaths-ignore We sometimes have long CI queues. When working on updating READMEs and documentation, we are running lots of pointless checks on several types of runners.
1 parent 5bbe0fd commit ea30f11

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

.github/workflows/build-test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,16 @@ on:
4848
branches:
4949
- main
5050
- release/**
51+
paths-ignore:
52+
- '**/*.md'
53+
- '.github/ISSUE_TEMPLATE/**'
5154
push:
5255
branches:
5356
- main
5457
- release/**
58+
paths-ignore:
59+
- '**/*.md'
60+
- '.github/ISSUE_TEMPLATE/**'
5561

5662
# Cancels in-progress PR runs when the PR is updated. Manual runs are never cancelled.
5763
concurrency:

.github/workflows/build-windows.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,16 @@ on:
77
branches:
88
- main
99
- release/**
10+
paths-ignore:
11+
- '**/*.md'
12+
- '.github/ISSUE_TEMPLATE/**'
1013
push:
1114
branches:
1215
- main
1316
- release/**
17+
paths-ignore:
18+
- '**/*.md'
19+
- '.github/ISSUE_TEMPLATE/**'
1420

1521
permissions: read-all
1622

.github/workflows/spirvrunner-test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,15 @@ on:
66
pull_request:
77
branches:
88
- main
9+
paths-ignore:
10+
- '**/*.md'
11+
- '.github/ISSUE_TEMPLATE/**'
912
push:
1013
branches:
1114
- main
15+
paths-ignore:
16+
- '**/*.md'
17+
- '.github/ISSUE_TEMPLATE/**'
1218

1319
permissions: read-all
1420

0 commit comments

Comments
 (0)