Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6e29169

Browse files
committed
Expand compilation workflow's paths filter to cover more irrelevant files
The paths filter is used to make GitHub Actions workflows more efficient and contributor friendly by preventing pointless workflow runs from happening when only irrelevant files were modified.
1 parent ffea159 commit 6e29169

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

‎.github/workflows/compile-examples.yml‎

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,25 @@ name: Compile Examples
1616

1717
on:
1818
pull_request:
19-
paths:
20-
- ".github/workflows/compile-examples.yml"
21-
- "examples/**"
19+
paths-ignore:
20+
- "**"
21+
- "!.github/workflows/compile-examples.ya?ml"
22+
- "!examples/**"
23+
- "**.adoc"
24+
- "**.jpg"
25+
- "**.md"
26+
- "**.png"
27+
- "**.txt"
2228
push:
23-
paths:
24-
- ".github/workflows/compile-examples.yml"
25-
- "examples/**"
29+
paths-ignore:
30+
- "**"
31+
- "!.github/workflows/compile-examples.ya?ml"
32+
- "!examples/**"
33+
- "**.adoc"
34+
- "**.jpg"
35+
- "**.md"
36+
- "**.png"
37+
- "**.txt"
2638
# Scheduled trigger checks for breakage caused by changes to external resources (libraries, platforms)
2739
schedule:
2840
# run every Tuesday at 3 AM UTC

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /