Skip to content

Official GitHub Action to run Liquibase Flow Validate

Notifications You must be signed in to change notification settings

liquibase-github-actions/flow-validate

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Liquibase Flow Validate Action

Official GitHub Action to run Liquibase Flow Validate in your GitHub Action Workflow. For more information on how flow validate works visit the Official Liquibase Documentation.

Flow Validate

[PRO] Validate a series of commands contained in one or more stages, as configured in a liquibase flow-file.

Usage

steps:
- uses: actions/checkout@v3
- uses: liquibase-github-actions/flow-validate@v4.30.0
  with:
    # The path to the configuration yaml file which contains one or more "stages" of commands to be executed in a liquibase flow operation. Defaults to yaml file named "liquibase.flowfile.yaml" in the current working directory.
    # string
    # Optional
    flowFile: ""

    # Parse flow-file YAML to allow only Liquibase flow-file specific properties, indentations, and structure.
    # bool
    # Optional
    flowFileStrictParsing: ""

    # The default interpreter used to execute shell commands.
    # string
    # Optional
    flowShellInterpreter: ""

    # Do not delete temporary files created by the shell command execution
    # bool
    # Optional
    flowShellKeepTempFiles: ""

Secrets

It is a good practice to protect your database credentials with GitHub Secrets

Optional Liquibase Global Inputs

The liquibase flow validate action accepts all valid liquibase global options as optional parameters. A full list is available in the official Liquibase Documentation.

Example

steps:
  - uses: actions/checkout@v3
  - uses: liquibase-github-actions/flow-validate@v4.30.0
    with:
      headless: true
      licenseKey: ${{ secrets.LIQUIBASE_LICENSE_KEY }}
      logLevel: INFO

Feedback and Issues

This action is automatically generated. Please submit all feedback and issues with the generator repository.