{"id":6326574,"name":"snaplet/action","ecosystem":"actions","description":"Deploy Snaplet preview databases filled with production-accurate data in no time.","homepage":"https://snaplet.dev","licenses":null,"normalized_licenses":[],"repository_url":"https://github.com/snaplet/action","keywords_array":["database","github-action","snaplet"],"namespace":"snaplet","versions_count":7,"first_release_published_at":"2022-08-05T13:25:58.000Z","latest_release_published_at":"2023-05-09T09:44:18.000Z","latest_release_number":"v1.1.2","last_synced_at":"2026-09-07T22:08:01.640Z","created_at":"2023-02-13T13:20:30.983Z","updated_at":"2026-09-07T22:08:01.641Z","registry_url":"https://github.com/snaplet/action","install_command":null,"documentation_url":null,"metadata":{"name":"Snaplet Preview Databases","author":"Snaplet","description":"Deploy Snaplet preview databases filled with production-accurate data in no time.","inputs":{"database-create-command":{"description":"Command used to generate the instant database","required":false,"type":"string","default":"snaplet preview-database create --git --latest"},"database-delete-command":{"description":"Command used to delete the instant database","required":false,"type":"string","default":"snaplet preview-database drop --git"},"database-url-command":{"description":"Command used to get the instant database url","required":false,"type":"string","default":"snaplet preview-database url --git"},"delete":{"description":"Delete the database","required":false,"type":"boolean","default":false},"reset":{"description":"Reset the database state on each commit","required":false,"type":"boolean","default":false}},"outputs":{"database-url":{"description":"Instant database url","value":"${{ steps.deploy.outputs.database-url }}"}},"runs":{"using":"composite","steps":[{"name":"Setup","shell":"bash","run":"curl -sS \"https://app.snaplet.dev/get-cli/\" | bash \u0026\u003e \"/dev/null\""},{"if":"${{ inputs.delete == 'false' }}","id":"deploy","name":"Deploy","shell":"bash","run":"if [ \"${{ inputs.reset }}\" == \"true\" ]; \\\nthen ${{ inputs.database-delete-command }} \u0026\u0026 ${{ inputs.database-create-command }}; \\\nelse ${{ inputs.database-url-command }} \u0026\u003e \"/dev/null\" || ${{ inputs.database-create-command }}; \\\nfi\necho \"database-url=$(${{ inputs.database-url-command }})\" \u003e\u003e $GITHUB_OUTPUT\n"},{"if":"${{ inputs.delete == 'true' }}","name":"Delete","shell":"bash","run":"${{ inputs.database-delete-command }}"}]},"default_branch":"main","path":null},"repo_metadata":{"id":53823723,"uuid":"521597870","full_name":"snaplet/action","owner":"snaplet","description":":zap: Snaplet Instant Database Github Action","archived":true,"fork":false,"pushed_at":"2023-05-09T09:45:18.000Z","size":481,"stargazers_count":15,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-08-06T23:19:49.623Z","etag":null,"topics":["database","github-action","snaplet"],"latest_commit_sha":null,"homepage":"https://snaplet.dev","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/snaplet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-08-05T10:34:56.000Z","updated_at":"2026-06-19T04:59:03.000Z","dependencies_parsed_at":"2024-06-19T16:02:42.727Z","dependency_job_id":"344be3bc-438a-49e1-bd8a-e70b106aa6d5","html_url":"https://github.com/snaplet/action","commit_stats":{"total_commits":20,"total_committers":2,"mean_commits":10.0,"dds":"0.050000000000000044","last_synced_commit":"8e880ab9279390a8b616025bb1c470f6ab38c508"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/snaplet/action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Faction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Faction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Faction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Faction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snaplet","download_url":"https://codeload.github.com/snaplet/action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Faction/sbom","scorecard":{"id":834269,"data":{"date":"2025-08-11","repo":{"name":"github.com/snaplet/action","commit":"97af02d55e80e9bd845b2bcbcd74eb74189eae28"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/21 approved changesets -- score normalized to 0","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":"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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"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":"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":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"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":"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"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for 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"}}]},"last_synced_at":"2025-08-23T18:33:25.237Z","repository_id":53823723,"created_at":"2025-08-23T18:33:25.237Z","updated_at":"2025-08-23T18:33:25.237Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36364195,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-06T04:43:03.162Z","status":"online","status_checked_at":"2026-08-07T02:00:06.708Z","response_time":57,"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"},"owner_record":{"login":"snaplet","name":"Snaplet","uuid":"69029941","kind":"organization","description":"Seed your Postgres database with production-like data so you can code, debug, and test with ease","email":"peter.pistorius@gmail.com","website":"https://snaplet.dev","location":"South Africa","twitter":"_snaplet","company":null,"icon_url":"https://avatars.githubusercontent.com/u/69029941?v=4","repositories_count":18,"last_synced_at":"2026-08-07T06:03:00.275Z","metadata":{"has_sponsors_listing":false,"funding":null},"html_url":"https://github.com/snaplet","funding_links":[],"total_stars":2528,"followers":131,"following":0,"created_at":"2022-11-14T06:44:53.911Z","updated_at":"2026-08-07T06:03:00.288Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snaplet","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snaplet/repositories"},"tags":[{"name":"v1.1.2","sha":"97af02d55e80e9bd845b2bcbcd74eb74189eae28","kind":"tag","published_at":"2023-05-09T09:44:18.000Z","download_url":"https://codeload.github.com/snaplet/action/tar.gz/v1.1.2","html_url":"https://github.com/snaplet/action/releases/tag/v1.1.2","dependencies_parsed_at":"2023-06-02T11:51:23.347Z","dependency_job_id":null,"purl":"pkg:github/snaplet/action@v1.1.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Faction/tags/v1.1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Faction/tags/v1.1.2/manifests"},{"name":"v1.1.1","sha":"8e880ab9279390a8b616025bb1c470f6ab38c508","kind":"commit","published_at":"2022-09-29T14:28:04.000Z","download_url":"https://codeload.github.com/snaplet/action/tar.gz/v1.1.1","html_url":"https://github.com/snaplet/action/releases/tag/v1.1.1","dependencies_parsed_at":"2023-05-31T15:33:55.310Z","dependency_job_id":null,"purl":"pkg:github/snaplet/action@v1.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Faction/tags/v1.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Faction/tags/v1.1.1/manifests"},{"name":"v1","sha":"8e880ab9279390a8b616025bb1c470f6ab38c508","kind":"commit","published_at":"2022-09-29T14:28:04.000Z","download_url":"https://codeload.github.com/snaplet/action/tar.gz/v1","html_url":"https://github.com/snaplet/action/releases/tag/v1","dependencies_parsed_at":"2023-05-31T15:33:55.457Z","dependency_job_id":null,"purl":"pkg:github/snaplet/action@v1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Faction/tags/v1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Faction/tags/v1/manifests"},{"name":"v1.1.0","sha":"e94e0d0993c107c0a84800ba4924efeef75aa52f","kind":"commit","published_at":"2022-08-11T14:47:03.000Z","download_url":"https://codeload.github.com/snaplet/action/tar.gz/v1.1.0","html_url":"https://github.com/snaplet/action/releases/tag/v1.1.0","dependencies_parsed_at":"2023-05-31T15:33:55.576Z","dependency_job_id":null,"purl":"pkg:github/snaplet/action@v1.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Faction/tags/v1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Faction/tags/v1.1.0/manifests"},{"name":"v1.0.2","sha":"9966ebc8808a7fef1ae0b46bbb03b176118c5b19","kind":"commit","published_at":"2022-08-05T13:55:48.000Z","download_url":"https://codeload.github.com/snaplet/action/tar.gz/v1.0.2","html_url":"https://github.com/snaplet/action/releases/tag/v1.0.2","dependencies_parsed_at":"2023-05-31T15:33:55.888Z","dependency_job_id":null,"purl":"pkg:github/snaplet/action@v1.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Faction/tags/v1.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Faction/tags/v1.0.2/manifests"},{"name":"v1.0.1","sha":"9c32648d327e9f7add223f629bfb2ad23402103e","kind":"commit","published_at":"2022-08-05T13:31:48.000Z","download_url":"https://codeload.github.com/snaplet/action/tar.gz/v1.0.1","html_url":"https://github.com/snaplet/action/releases/tag/v1.0.1","dependencies_parsed_at":"2023-05-31T15:33:56.167Z","dependency_job_id":null,"purl":"pkg:github/snaplet/action@v1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Faction/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Faction/tags/v1.0.1/manifests"},{"name":"v1.0.0","sha":"2503554df97c69677e0ad870398161f4b6949b0f","kind":"tag","published_at":"2022-08-05T13:25:58.000Z","download_url":"https://codeload.github.com/snaplet/action/tar.gz/v1.0.0","html_url":"https://github.com/snaplet/action/releases/tag/v1.0.0","dependencies_parsed_at":"2023-05-31T15:33:56.463Z","dependency_job_id":null,"purl":"pkg:github/snaplet/action@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Faction/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Faction/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-08-07T06:53:09.895Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":100,"rankings":{"downloads":null,"dependent_repos_count":4.791633655522104,"dependent_packages_count":0.0,"stargazers_count":9.557914752020281,"forks_count":16.149580098241167,"docker_downloads_count":null,"average":7.624782126445888},"purl":"pkg:githubactions/snaplet/action","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/snaplet/action","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/snaplet/action","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/snaplet/action/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2023-08-09T10:24:12.495Z","issues_count":1,"pull_requests_count":2,"avg_time_to_close_issue":14310326.0,"avg_time_to_close_pull_request":1936.5,"issues_closed_count":1,"pull_requests_closed_count":2,"pull_request_authors_count":2,"issue_authors_count":1,"avg_comments_per_issue":1.0,"avg_comments_per_pull_request":0.0,"merged_pull_requests_count":2,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":1,"past_year_pull_requests_count":2,"past_year_avg_time_to_close_issue":14310326.0,"past_year_avg_time_to_close_pull_request":1936.5,"past_year_issues_closed_count":1,"past_year_pull_requests_closed_count":2,"past_year_pull_request_authors_count":2,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":1.0,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":2,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Faction/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/snaplet%2Faction/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/snaplet%2Faction/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/snaplet%2Faction/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/snaplet%2Faction/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/snaplet%2Faction/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/snaplet%2Faction/codemeta","maintainers":[]}