{"id":23523025,"url":"https://github.com/seonghun-dev/flyway-naming-checker","last_synced_at":"2025-06-26T03:34:59.608Z","repository":{"id":207638936,"uuid":"719742627","full_name":"seonghun-dev/flyway-naming-checker","owner":"seonghun-dev","description":"Flyway Naming Checker","archived":false,"fork":false,"pushed_at":"2024-07-17T02:57:36.000Z","size":21,"stargazers_count":5,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-19T20:58:54.584Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seonghun-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-11-16T20:07:02.000Z","updated_at":"2024-10-16T05:12:21.000Z","dependencies_parsed_at":"2024-04-08T07:42:20.460Z","dependency_job_id":"546e0436-1e22-47ff-b96f-e882aad33ff4","html_url":"https://github.com/seonghun-dev/flyway-naming-checker","commit_stats":null,"previous_names":["seonghun-dev/flyway-naming-checker"],"tags_count":6,"template":false,"template_full_name":"dbanty/sample-rust-action","purl":"pkg:github/seonghun-dev/flyway-naming-checker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seonghun-dev%2Fflyway-naming-checker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seonghun-dev%2Fflyway-naming-checker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seonghun-dev%2Fflyway-naming-checker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seonghun-dev%2Fflyway-naming-checker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seonghun-dev","download_url":"https://codeload.github.com/seonghun-dev/flyway-naming-checker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seonghun-dev%2Fflyway-naming-checker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261995395,"owners_count":23242202,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-25T17:18:51.876Z","updated_at":"2025-06-26T03:34:59.577Z","avatar_url":"https://github.com/seonghun-dev.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flyway Naming Convention Checker\n\n![GitHub Actions](https://img.shields.io/badge/GitHub%20Actions-enabled-brightgreen)\n[![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n\nGitHub Actions CI workflow for validating Flyway migration script names to ensure they follow the naming convention. \n\nThis Github action generated from [dbanty/rust-github-action-template](https://github.com/dbanty/rust-github-action-template).\n\n\n## Description\n\nFlyway's file convention is clearly specified. This action checks that all files conform to the flyway file convention.\n\n[Flyway: Naming Patterns Matter | Redgate](https://www.red-gate.com/blog/database-devops/flyway-naming-patterns-matter)\n\n **Make sure to write path. path means the migration file path.**\n \n Do not start with /. It should be in the form of 'db/migration' instead of '/db/migration'.\n\n![flyway_naming](https://github.com/seonghun-dev/flyway-naming-checker/assets/80201773/7d448c33-125f-45b2-a6f5-027264b9a9d6)\n\n\n## Example\n\nTo use this GitHub Actions workflow in your repository.\n\n\nCreate a YAML file (e.g., `.github/workflows/flyway-naming-check.yml`) with the following content:\n\n```yaml\n\nname: Flyway Naming Check\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: flyway-naming-checker\n        uses: seonghun-dev/flyway-naming-checker@v0.1.0\n        with:\n          path: 'db/migartion' # Adjust the path to match your migration script location\n```\n\n## Preview\n\nThis script verifies that all files in the current folder match flyway naming convention.\n\n\n\u003cimg width=\"1077\" alt=\"screenshot 2024-04-08 오후 6 03 09\" src=\"https://github.com/seonghun-dev/flyway-naming-checker/assets/80201773/3bc9289a-566a-447b-bf12-a392adb3815f\"\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseonghun-dev%2Fflyway-naming-checker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseonghun-dev%2Fflyway-naming-checker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseonghun-dev%2Fflyway-naming-checker/lists"}