Skip to content

Commit 8ed985e

Browse files
authored
chore: run java-lancedb when the module is edited (#155)
This requires the user to set lancedb credentials in the fork. But if the user is editing those components, they should have.
1 parent d94a8ce commit 8ed985e

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/java-lancedb.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,14 @@ on:
1616
push:
1717
branches:
1818
- main
19+
pull_request:
20+
types:
21+
- opened
22+
- synchronize
23+
- ready_for_review
24+
- reopened
1925
paths:
20-
- docs/src/spec/**
21-
- java/**
26+
- java/lance-namespace-lancedb/**
2227
- .github/workflows/java-lancedb.yml
2328
workflow_dispatch:
2429
inputs:
@@ -45,7 +50,7 @@ on:
4550

4651
concurrency:
4752
group: ${{ github.workflow }}-${{ github.ref }}
48-
cancel-in-progress: true
53+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
4954

5055
env:
5156
# This env var is used by Swatinem/rust-cache@v2 for the cache

0 commit comments

Comments
 (0)