{"id":49062162,"url":"https://github.com/dwin/dbmate-action","last_synced_at":"2026-04-20T03:03:32.250Z","repository":{"id":61830479,"uuid":"555556172","full_name":"dwin/dbmate-action","owner":"dwin","description":"Github Action for Dbmate database migration tool","archived":false,"fork":false,"pushed_at":"2024-09-17T17:10:58.000Z","size":10,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-01T01:07:28.492Z","etag":null,"topics":["database-migration","database-migrations","dbmate","github-action","github-actions","github-actions-docker"],"latest_commit_sha":null,"homepage":"","language":null,"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/dwin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-21T20:26:07.000Z","updated_at":"2025-10-06T09:39:57.000Z","dependencies_parsed_at":"2023-01-11T17:23:48.105Z","dependency_job_id":null,"html_url":"https://github.com/dwin/dbmate-action","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"8154d88816fb04143ee6815aedbf2d2e9a963d6f"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dwin/dbmate-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwin%2Fdbmate-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwin%2Fdbmate-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwin%2Fdbmate-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwin%2Fdbmate-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dwin","download_url":"https://codeload.github.com/dwin/dbmate-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwin%2Fdbmate-action/sbom","scorecard":{"id":361381,"data":{"date":"2025-08-11","repo":{"name":"github.com/dwin/dbmate-action","commit":"78ad264614dc1f0f0fd284f7f85ebffcdbb72306"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.1,"checks":[{"name":"Code-Review","score":1,"reason":"Found 1/7 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/dwin/dbmate-action/test.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/dwin/dbmate-action/test.yml/main?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":6,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'main'","Info: 'force pushes' disabled on branch 'main'","Warn: required approving review count is 1 on branch 'main'","Warn: codeowners review is not required on branch 'main'","Warn: no status checks found to merge onto branch 'main'","Info: PRs are required in order to make changes on branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 5 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T10:55:17.836Z","repository_id":61830479,"created_at":"2025-08-18T10:55:17.836Z","updated_at":"2025-08-18T10:55:17.836Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32031070,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["database-migration","database-migrations","dbmate","github-action","github-actions","github-actions-docker"],"created_at":"2026-04-20T03:03:30.992Z","updated_at":"2026-04-20T03:03:32.226Z","avatar_url":"https://github.com/dwin.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# dbmate-action\n\nThis repository contains a GitHub Action for running [Dbmate](https://github.com/amacneil/dbmate), used\nfor database migrations.\n\nIt is based on the [official Github Docker image](https://github.com/amacneil/dbmate/pkgs/container/dbmate),\nwhich is based on Alpine Linux.\n\n## Inputs\n\n### `command`\n\nThe command to run. Default `\"--help\"`, but you'll likely want to use `\"up\"`.\n\nSee [Dbmate documentation](https://github.com/amacneil/dbmate#commands) for commands.\n\n## Example usage\n\nSee [https://github.com/amacneil/dbmate#command-line-options](https://github.com/amacneil/dbmate#command-line-options)\nfor more configuration options to be passed by environment variables.\n\n### Basic Usage\n\nUses the default command `up` and does not check in the database schema.\n\n```yaml\n...\nsteps:\n  - name: \"Run migrations\"\n    uses: dwin/dbmate-action@v1.15\n    with:\n      command: 'up'\n    env:\n      DATABASE_URL: postgres://postgres:changeme@postgres:5432/postgres # or ${{ secrets.DATABASE_URL }}\n      DBMATE_MIGRATIONS_DIR: \"./migrations\"\n      DBMATE_NO_DUMP_SCHEMA: \"true\"\n      DBMATE_WAIT: \"true\"\n      DBMATE_WAIT_TIMEOUT: \"30s\"\n...\n```\n\n### Check in the database schema\n\n```yaml\n...\nsteps:\n  - name: \"Run migrations\"\n    uses: dwin/dbmate-action@v1.15\n    with:\n      command: 'up'\n    env:\n      DATABASE_URL: ${{ secrets.DATABASE_URL }}\n      DBMATE_MIGRATIONS_DIR: \"./migrations\"\n      DBMATE_SCHEMA_FILE: \"./schema.sql\"\n      DBMATE_WAIT: \"true\"\n      DBMATE_WAIT_TIMEOUT: \"30s\"\n  - name: \"Add \u0026 Commit latest schema\"\n    uses: EndBug/add-and-commit@v9\n    with:\n      default_author: github_actions\n...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwin%2Fdbmate-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdwin%2Fdbmate-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwin%2Fdbmate-action/lists"}