{"id":15090045,"url":"https://github.com/jamesrobionyrogers/github-to-gitbucket-action","last_synced_at":"2026-02-14T22:02:18.709Z","repository":{"id":256490463,"uuid":"854989451","full_name":"JamesRobionyRogers/GitHub-to-GitBucket-Action","owner":"JamesRobionyRogers","description":"GitHub action designed to push commits made on a GitHub repository to a GitBucket repository whilst maintaining the original commit author and history.","archived":false,"fork":false,"pushed_at":"2024-09-13T02:48:27.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-06T17:46:10.418Z","etag":null,"topics":["actions"],"latest_commit_sha":null,"homepage":"","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/JamesRobionyRogers.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":"2024-09-10T05:36:22.000Z","updated_at":"2024-09-13T02:48:29.000Z","dependencies_parsed_at":"2024-09-13T13:02:00.333Z","dependency_job_id":null,"html_url":"https://github.com/JamesRobionyRogers/GitHub-to-GitBucket-Action","commit_stats":{"total_commits":6,"total_committers":2,"mean_commits":3.0,"dds":"0.16666666666666663","last_synced_commit":"9f46421776427a09f1166ab29817b6674a19fa01"},"previous_names":["jamesrobionyrogers/github-to-gitbucket-action"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JamesRobionyRogers/GitHub-to-GitBucket-Action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesRobionyRogers%2FGitHub-to-GitBucket-Action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesRobionyRogers%2FGitHub-to-GitBucket-Action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesRobionyRogers%2FGitHub-to-GitBucket-Action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesRobionyRogers%2FGitHub-to-GitBucket-Action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JamesRobionyRogers","download_url":"https://codeload.github.com/JamesRobionyRogers/GitHub-to-GitBucket-Action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesRobionyRogers%2FGitHub-to-GitBucket-Action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29457787,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T21:29:27.764Z","status":"ssl_error","status_checked_at":"2026-02-14T21:28:11.111Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["actions"],"created_at":"2024-09-25T09:04:19.122Z","updated_at":"2026-02-14T22:02:18.692Z","avatar_url":"https://github.com/JamesRobionyRogers.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- PROJECT LOGO --\u003e\n\u003cbr /\u003e\n\u003cp align=\"center\"\u003e\n    \u003ch1 align=\"center\"\u003e GitHub to GitBucket Action \u003c/h1\u003e\n    \u003ch6 align=\"center\"\u003e September 2024 \u003c/h6\u003e\n\n  \u003cp align=\"center\"\u003e\n   Here is a GitHub action for pushing commits made on a GitHub repository to a GitBucket repository. \n    \u003cbr /\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n___\n\n[![Mirror to GitBucket](https://github.com/JamesRobionyRogers/GitHub-to-GitBucket-Action/actions/workflows/push-to-gitbucket.yml/badge.svg)](https://github.com/JamesRobionyRogers/GitHub-to-GitBucket-Action/actions/workflows/push-to-gitbucket.yml)\n\n\n## Overview \n\nThis action is designed to push commits made on a GitHub repository to a GitBucket repository whilst maintaining the original commit author and history. \n\n## Usage\n\nImplementing this action is simple. Here is a step by step guide to get you started:\n\n1. Create a new workflow file named `push-to-gitbucket.yml` in your `.github/workflows` directory.\n```yaml\nname: Mirror to GitBucket\n\non:\n  push:\n    branches:\n      - \"*\"\n\njobs:\n  mirror:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Push to GitBucket\n        env:\n          # Set the GitBucket URL, username and password as secrets in your repository settings\n          GITBUCKET_URL: \"gitbucket.example.com/username/repo.git\"\n          GITBUCKET_USERNAME: ${{ secrets.GITBUCKET_USERNAME }}\n          GITBUCKET_PASSWORD: ${{ secrets.GITBUCKET_PASSWORD }}\n        run: |\n          git config --global user.name \"GitHub Actions\"\n          git config --global user.email \"actions@github.com\"\n\n          git remote add gitbucket https://$GITBUCKET_USERNAME:$GITBUCKET_PASSWORD@$GITBUCKET_URL\n          git push --mirror gitbucket\n```\n\n2. Replace the `GITBUCKET_URL` with the URL of your GitBucket repository. \n\n\u003e [!NOTE]  \n\u003e Ensure that the URL does NOT contain the `https://` prefix. as this is added on line 27 of the workflow file.\n\n3. Add the `GITBUCKET_USERNAME` and `GITBUCKET_PASSWORD` as secrets in your repository settings.\n     - Navigate to your repository on GitHub.\n     - Click on `Settings` tab.\n     - Click on `Secrets and variables` in the left sidebar, then `Actions`.\n     - Click on the green `New repository secret` button.\n     -  Add the `GITBUCKET_USERNAME` and `GITBUCKET_PASSWORD` as secrets, with the values being your GitBucket username and password respectively.\n\n4. Push the the new `push-to-gitbucket.yml` file to your GitHub repository and watch as your commits are mirrored to your GitBucket repository.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesrobionyrogers%2Fgithub-to-gitbucket-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamesrobionyrogers%2Fgithub-to-gitbucket-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesrobionyrogers%2Fgithub-to-gitbucket-action/lists"}