{"id":49107092,"url":"https://github.com/fastapi-practices/plugin-release","last_synced_at":"2026-04-21T02:13:25.610Z","repository":{"id":341776641,"uuid":"1140230855","full_name":"fastapi-practices/plugin-release","owner":"fastapi-practices","description":"GitHub Action for automatically bump FastAPI Best Architecture plugin version after a release.","archived":false,"fork":false,"pushed_at":"2026-03-03T10:06:50.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-03T11:57:27.894Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/fastapi-practices.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-23T02:00:14.000Z","updated_at":"2026-03-03T10:05:44.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/fastapi-practices/plugin-release","commit_stats":null,"previous_names":["fastapi-practices/plugin-release"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/fastapi-practices/plugin-release","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastapi-practices%2Fplugin-release","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastapi-practices%2Fplugin-release/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastapi-practices%2Fplugin-release/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastapi-practices%2Fplugin-release/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fastapi-practices","download_url":"https://codeload.github.com/fastapi-practices/plugin-release/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastapi-practices%2Fplugin-release/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32073501,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T01:35:38.224Z","status":"online","status_checked_at":"2026-04-21T02:00:06.111Z","response_time":128,"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":[],"created_at":"2026-04-21T02:13:25.052Z","updated_at":"2026-04-21T02:13:25.602Z","avatar_url":"https://github.com/fastapi-practices.png","language":null,"readme":"# plugin-release\n\nGitHub Action for automatically bump FastAPI Best Architecture plugin version after a release.\n\nWhen a plugin repository pushes a new tag, this Action automatically creates a pull request\nto update the corresponding submodule in [fastapi-practices/plugins](https://github.com/fastapi-practices/plugins).\n\n## Usage\n\nAdd the following workflow file to your plugin repository (e.g. `.github/workflows/release.yml`):\n\n```yaml\nname: Plugin Release\n\non:\n  push:\n    tags:\n      - \"v*\"\n\njobs:\n  update-submodule:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Update plugin submodule\n        uses: fastapi-practices/plugin-release@v1\n        with:\n          push-to: your-username/plugins\n        env:\n          GH_TOKEN: ${{ secrets.GH_TOKEN }}\n```\n\n## Inputs\n\n| Input         | Required | Default                       | Description                                                                              |\n| ------------- | -------- | ----------------------------- | ---------------------------------------------------------------------------------------- |\n| `push-to`     | Yes      | —                             | The repository to push the update branch to (`owner/repo`), e.g. `your-username/plugins` |\n| `plugin-name` | No       | Repository name of the caller | Plugin name, must match the submodule directory name in `fastapi-practices/plugins`      |\n\n## Environment variables\n\n| Variable   | Required | Description                                                                                                                        |\n| ---------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------- |\n| `GH_TOKEN` | Yes      | GitHub personal access token with write access to the push-to repository, see [creating a PAT](https://github.com/settings/tokens) |\n\n## How it works\n\n1. Validates that the version in `plugin.toml` matches the pushed tag\n2. Checks out the push-to repository with all submodules\n3. Syncs with the upstream `fastapi-practices/plugins` repository\n4. Validates that the specified plugin submodule exists\n5. Creates a new branch in the push-to repository\n6. Updates the submodule to the latest commit via `git submodule update --remote`\n7. Commits and pushes the changes\n8. Opens a pull request against the upstream plugins repository\n\nIf the submodule is already up to date, no PR is created.\n\n## License\n\n[MIT](./LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastapi-practices%2Fplugin-release","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffastapi-practices%2Fplugin-release","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastapi-practices%2Fplugin-release/lists"}