{"id":19184612,"url":"https://github.com/gatoreducator/branchwrite","last_synced_at":"2026-06-19T19:01:34.255Z","repository":{"id":176338932,"uuid":"653375739","full_name":"GatorEducator/BranchWrite","owner":"GatorEducator","description":"Write contents on a specific Git branch","archived":false,"fork":false,"pushed_at":"2023-12-05T17:59:42.000Z","size":94,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-23T13:34:58.271Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/GatorEducator.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":"2023-06-14T00:06:23.000Z","updated_at":"2024-05-28T13:15:29.000Z","dependencies_parsed_at":"2023-12-05T18:50:35.774Z","dependency_job_id":"e04345bb-e33d-4fe7-8d0e-85a1a168aeee","html_url":"https://github.com/GatorEducator/BranchWrite","commit_stats":null,"previous_names":["yanqiao4396/branchwrite","gatoreducator/branchwrite"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/GatorEducator/BranchWrite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GatorEducator%2FBranchWrite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GatorEducator%2FBranchWrite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GatorEducator%2FBranchWrite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GatorEducator%2FBranchWrite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GatorEducator","download_url":"https://codeload.github.com/GatorEducator/BranchWrite/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GatorEducator%2FBranchWrite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34544413,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"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":"2024-11-09T11:07:39.498Z","updated_at":"2026-06-19T19:01:34.235Z","avatar_url":"https://github.com/GatorEducator.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BranchWrite\n\nWrite a file on a specific Git branch under the GitHub workflow scenario.\n\n## Premise and Setup\n\nBranchWrite is designed to write contents in the running repository, such that authentication with writing permission is required to put into input arg `repo-token`. It's recommended to use `GITHUB_ACTION` token automatically generated by GitHub Action and enable write contents permission for it. FO more information about `GITHUB_ACTION`, please visit the [github doc](https://docs.github.com/en/actions/security-guides/automatic-token-authentication)\n\n## Usage\n\nsee [action.yml](action.yml)\n\n### Example\n\n#### content\n```yaml\n- name: \nuses: GatorEducator/BranchWrite@v1\nif:\n    always()\nwith:\n    repo-token: ${{ secrets.GITHUB_TOKEN }}\n    branch: insight\n    path: cool/insight.json\n    source: content\n    source-arg: hello from action\n```\n#### env\n\n```yaml\n- name: \nuses: GatorEducator/BranchWrite@v1\nif:\n    always()\nwith:\n    repo-token: ${{ secrets.GITHUB_TOKEN }}\n    branch: insight\n    path: cool/insight.json\n    source: env\n    source-arg: JSON_REPORT\n```\n\n#### branch + file\n\n```yaml\n- name: \nuses: GatorEducator/BranchWrite@v1\nif:\n    always()\nwith:\n    repo-token: ${{ secrets.GITHUB_TOKEN }}\n    branch: insight\n    path: cool/insight.json\n    source: branch-and-path\n    source-arg: main-branch/foo/bar.txt\n```\n## License\n\nThe scripts and documentation in this project are released under the [MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgatoreducator%2Fbranchwrite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgatoreducator%2Fbranchwrite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgatoreducator%2Fbranchwrite/lists"}