Skip to content

Commit 5203bba

Browse files
committed
Conditionally run assemble GitHub action
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 ba6bddf commit 5203bba

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.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)