Skip to content

Commit

Permalink
Merge 841f7ca into 50d44ae
Browse files Browse the repository at this point in the history
  • Loading branch information
SmetDenis committed Mar 11, 2024
2 parents 50d44ae + 841f7ca commit c72c725
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
#
# JBZoo Toolbox - Csv-Blueprint.
#
# This file is part of the JBZoo Toolbox project.
# For the full copyright and license information, please view the LICENSE
# file that was distributed with this source code.
#
# @license MIT
# @copyright Copyright (C) JBZoo.com, All rights reserved.
# @see https://github.com/JBZoo/Csv-Blueprint
#

name: 'CSV Validator'
description: 'Strict and flexible schema-based CSV file validation with the ability to report as GitHub Annotations in your PRs.'
author: 'Denis Smetannikov <admin@jbzoo.com>'

branding:
icon: 'file-text'
color: 'green'

inputs:
csv:
description: 'CSV filepath to validate.'
required: true
schema:
description: 'Schema rule filepath. File can be a Yml or JSON. See examples in the repository.'
required: true
output:
description: 'Report output format. Available options: text, table, github, gitlab, teamcity, junit'
default: github
required: true

runs:
using: 'docker'
image: 'docker://jbzoo/csv-blueprint'
args:
- validate:csv
- '--csv'
- ${{ inputs.csv }}
- '--schema'
- ${{ inputs.schema }}
- '--output'
- ${{ inputs.output }}
- '-vvv'

0 comments on commit c72c725

Please sign in to comment.