Skip to content

Commit ef353fc

Browse files
committed
ci(validate-data): validate only changed records on PRs
Pass the PR base SHA to TechEngine's reusable validate-data so PRs run `app.validate --changed-since`; pushes to main/develop keep the full run. Refs #350
1 parent 27d1dac commit ef353fc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎.github/workflows/validate-data.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,5 @@ jobs:
2929
uses: GetTechAPI/TechEngine/.github/workflows/validate-data.yml@main
3030
with:
3131
data-ref: ${{ github.event.pull_request.head.sha || github.sha }}
32+
# PRs validate only the changed records; pushes to main/develop stay full.
33+
base-sha: ${{ github.event.pull_request.base.sha || '' }}

0 commit comments

Comments
 (0)