Skip to content

flyway-naming-checker

Actions
Flyway Naming Checker
v0.1.0
Latest
Star (5)

Tags

 (1)

Flyway Naming Convention Checker

GitHub Actions License

GitHub Actions CI workflow for validating Flyway migration script names to ensure they follow the naming convention.

This Github action generated from dbanty/rust-github-action-template.

Description

Flyway's file convention is clearly specified. This action checks that all files conform to the flyway file convention.

Flyway: Naming Patterns Matter | Redgate

Make sure to write path. path means the migration file path.

Do not start with /. It should be in the form of 'db/migration' instead of '/db/migration'.

flyway_naming

Example

To use this GitHub Actions workflow in your repository.

Create a YAML file (e.g., .github/workflows/flyway-naming-check.yml) with the following content:

name: Flyway Naming Check

on:
  push:
    branches: [ "main" ]
  pull_request:
    branches: [ "main" ]


jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: flyway-naming-checker
        uses: seonghun-dev/flyway-naming-checker@v0.1.0
        with:
          path: 'db/migartion' # Adjust the path to match your migration script location

Preview

This script verifies that all files in the current folder match flyway naming convention.

screenshot 2024-04-08 오후 6 03 09

flyway-naming-checker is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Flyway Naming Checker
v0.1.0
Latest

Tags

 (1)

flyway-naming-checker is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.