{"id":28902730,"url":"https://github.com/walletconnect/refinery-action","last_synced_at":"2025-06-21T11:32:59.875Z","repository":{"id":192636056,"uuid":"687104848","full_name":"WalletConnect/refinery-action","owner":"WalletConnect","description":"Run RustDB RefineryCLI as a GitHub action","archived":false,"fork":false,"pushed_at":"2023-09-04T16:20:46.000Z","size":7,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-21T03:40:06.258Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/WalletConnect.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}},"created_at":"2023-09-04T16:11:14.000Z","updated_at":"2024-10-01T03:12:51.000Z","dependencies_parsed_at":"2023-11-24T05:43:25.359Z","dependency_job_id":null,"html_url":"https://github.com/WalletConnect/refinery-action","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"41b8e8713ad928573d347642dcfa0451ab613218"},"previous_names":["walletconnect/refinery-action"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/WalletConnect/refinery-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WalletConnect%2Frefinery-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WalletConnect%2Frefinery-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WalletConnect%2Frefinery-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WalletConnect%2Frefinery-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WalletConnect","download_url":"https://codeload.github.com/WalletConnect/refinery-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WalletConnect%2Frefinery-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261115172,"owners_count":23111898,"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":"2025-06-21T11:30:52.433Z","updated_at":"2025-06-21T11:32:59.865Z","avatar_url":"https://github.com/WalletConnect.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./refinery.png\"\u003e\n\u003c/p\u003e\n\n# refinery-action\nRun [RustDB Refinery](https://github.com/rust-db/refinery) CLI as a GitHub action\n\n## Usage\n\nThe default configuration installs the latest version of Refinery CLI and expects a `refinery.toml` configuration file in the root directory:\n\n```yaml\nsteps:\n- uses: walletconnect/refinery-action@1.0.0\n```\n\nA specific version of Refinery CLI can be installed:\n\n```yaml\nsteps:\n- uses: hashicorp/setup-terraform@v2\n  with:\n    refinery_version: 0.8.10\n```\n\nA different name for the configuration file can be specified:\n\n```yaml\nsteps:\n- uses: hashicorp/setup-terraform@v2\n  with:\n    config: './config/refinery.toml'\n```\n\nYou can specify the name of an environment variable that contains the database URI:\n\n```yaml\nsteps:\n- uses: hashicorp/setup-terraform@v2\n  with:\n    db_uri_env_var: 'DATABASE_URL'\n```\n\n## Inputs\n\nThe action supports the following inputs:\n\n| Name                   | Description                                                                                   | Default           |\n|------------------------|-----------------------------------------------------------------------------------------------|-------------------|\n| `migrations_directory` | Directory to run the action on, from the repo root                                            | `./migrations`    |\n| `config`               | Path to the configuration file                                                                | `./refinery.toml` |\n| `db_uri_env_var`       | Name of the environment variable that contains the database URI                               | --                |\n| `single_transactions`  | Run migrations in a single transaction                                                        | `false`           |\n| `target`               | Migrate to the specified target version                                                       | --                |\n| `additional_args`      | Additional arguments to pass to the Refinery CLI                                              | --                |\n| `refinery_version`     | Refinery CLI version to install                                                               | `latest`          |\n| `github_token`         | GitHub token used for making authenticated requests to the GitHub API and avoid rate limiting | --                |\n\n## Outputs\n\nThis action does not configure any outputs directly.\n\n## Open Source Attribution\n\nThis action uses the following open source projects:\n\n| Name     | License                                                            |\n|----------|--------------------------------------------------------------------|\n| refinery | [MIT](https://github.com/rust-db/refinery/blob/main/LICENSE)       |\n| bash     | [GPL 3.0 or later](https://www.gnu.org/licenses/gpl-3.0.html)      |\n| curl     | [curl license](https://curl.se/docs/copyright.html)                |\n| git      | [GPL 2.0 or later](https://github.com/git/git/blob/master/COPYING) |\n| jq       | [MIT](https://github.com/stedolan/jq/blob/master/COPYING)          |\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalletconnect%2Frefinery-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwalletconnect%2Frefinery-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalletconnect%2Frefinery-action/lists"}