Skip to content

Commit 2ea2500

Browse files
authored
Conditionally run assemble GitHub action (#20992)
Only trigger the assemble GitHub action if files that could plausibly impact building the distributions have changed. Signed-off-by: Andrew Ross <andrross@amazon.com>
1 parent cf8f559 commit 2ea2500

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/assemble.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
name: Gradle Assemble
2-
on: [pull_request]
2+
on:
3+
pull_request:
4+
# Skip this check unless files that could plausibly impact a
5+
# distribution have changed.
6+
paths:
7+
- 'distribution/**'
8+
- 'buildSrc/**'
9+
- '**/*.gradle'
10+
- 'gradle/**'
11+
- '.github/workflows/assemble.yml'
312

413
jobs:
514
assemble:

0 commit comments

Comments
 (0)