https://github.com/codebruinc/schemamap-validate-action
GitHub Action to validate CSV files against SchemaMap templates
https://github.com/codebruinc/schemamap-validate-action
Last synced: 5 days ago
JSON representation
GitHub Action to validate CSV files against SchemaMap templates
- Host: GitHub
- URL: https://github.com/codebruinc/schemamap-validate-action
- Owner: codebruinc
- Created: 2025-08-22T14:31:44.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-08-22T14:44:30.000Z (10 months ago)
- Last Synced: 2025-08-22T16:46:59.858Z (10 months ago)
- Size: 1.95 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SchemaMap Validate Action
GitHub Action to validate CSV files against SchemaMap templates for Shopify and Stripe.
## Usage
```yaml
- name: Validate CSV
uses: codebruinc/schemamap-validate-action@v1
with:
schema: shopify-products
mapping: mapping.json
csv: data.csv
```
## Inputs
- `schema` (required): Template key - `shopify-products`, `shopify-inventory`, or `stripe-customers`
- `mapping` (required): Path to mapping.json file
- `csv` (required): Path to input CSV file
## Example Workflow
```yaml
name: Validate Product CSV
on:
pull_request:
paths: ["**/*.csv"]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Validate Shopify Products CSV
uses: codebruinc/schemamap-validate-action@v1
with:
schema: shopify-products
mapping: mappings/shopify-products.json
csv: data/products.csv
```
## About SchemaMap
[SchemaMap](https://schemamap.app) is a privacy-focused CSV mapper for ecommerce platforms. It helps map messy CSV files to proper Shopify and Stripe formats with smart auto-mapping and validation.
- **Browser-only processing** - files never leave your device
- **Smart auto-mapping** - fuzzy header matching
- **Open source** - MIT licensed
- **CLI included** - for automation and CI/CD
## License
MIT - Generated by Zach @ CodeBru.com