Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
database

GitHub Action

Liquibase Flow Validate Action

v4.26.0

Liquibase Flow Validate Action

database

Liquibase Flow Validate Action

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

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Liquibase Flow Validate Action

uses: liquibase-github-actions/[email protected]

Learn more about this action in liquibase-github-actions/flow-validate

Choose a version

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/[email protected]
  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/[email protected]
    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.