{"id":15318430,"url":"https://github.com/appleboy/git-push-action","last_synced_at":"2025-07-14T18:36:26.426Z","repository":{"id":154157232,"uuid":"631995456","full_name":"appleboy/git-push-action","owner":"appleboy","description":"Git push changes to a remote git repository for GitHub Actions","archived":false,"fork":false,"pushed_at":"2024-11-17T06:04:33.000Z","size":24,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-07T18:45:39.160Z","etag":null,"topics":["deployment","git","github-actions"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/git-push-changes","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/appleboy.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}},"created_at":"2023-04-24T13:48:22.000Z","updated_at":"2025-01-25T15:31:01.000Z","dependencies_parsed_at":"2023-11-24T22:31:49.087Z","dependency_job_id":"ba56f6c8-75ac-41bc-a4f4-bd51d7c5d3b9","html_url":"https://github.com/appleboy/git-push-action","commit_stats":{"total_commits":25,"total_committers":1,"mean_commits":25.0,"dds":0.0,"last_synced_commit":"b31dd8d6e7ba1e80a96a4772d8c4290fe7bac0ce"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/appleboy/git-push-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fgit-push-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fgit-push-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fgit-push-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fgit-push-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appleboy","download_url":"https://codeload.github.com/appleboy/git-push-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fgit-push-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264940397,"owners_count":23686250,"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":["deployment","git","github-actions"],"created_at":"2024-10-01T09:00:04.066Z","updated_at":"2025-07-14T18:36:26.375Z","avatar_url":"https://github.com/appleboy.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-push-action\n\n[![Lint and Testing](https://github.com/appleboy/git-push-action/actions/workflows/testing.yml/badge.svg?branch=main)](https://github.com/appleboy/git-push-action/actions/workflows/testing.yml)\n\nGit push changes to a remote git repository.\n\nThis thing is built using [Golang](https://go.dev) and [drone-git-push](https://github.com/appleboy/drone-git-push). 🚀\n\n## Input variables\n\nSee [action.yml](./action.yml) for more detailed information.\n\n| Variable       | Description                                  | Default                                               |\n| -------------- | -------------------------------------------- | ----------------------------------------------------- |\n| author_name    | git author name                              | GitHub Actions                                        |\n| author_email   | git author email                             | 41898282+github-actions[bot]@users.noreply.github.com |\n| netrc_machine  | netrc machine                                |                                                       |\n| netrc_username | netrc username                               |                                                       |\n| netrc_password | netrc password                               |                                                       |\n| ssh_key        | private ssh key                              |                                                       |\n| remote         | url of the remote repo                       |                                                       |\n| remote_name    | name of the remote repo                      | deploy                                                |\n| branch         | name of remote branch                        | master                                                |\n| local_branch   | name of local branch                         | HEAD                                                  |\n| path           | path to git repo                             |                                                       |\n| force          | force push to remote                         |                                                       |\n| followtags     | push to remote with tags                     |                                                       |\n| skip_verify    | skip ssl verification                        |                                                       |\n| commit         | commit dirty changes                         |                                                       |\n| commit_message | commit message                               |                                                       |\n| tag            | tag to add to the commit                     |                                                       |\n| empty_commit   | allow empty commit                           |                                                       |\n| no_verify      | bypasses the pre-commit and commit-msg hooks |                                                       |\n| rebase         | rebase local branch on top of remote branch  |                                                       |\n\n## Usage\n\n```yaml\nname: testing\n\non:\n  push:\n\njobs:\n  testing:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: update changes\n        run: |\n          openssl rand -hex 16 \u003e test.txt\n\n      - name: git push changes\n        uses: appleboy/git-push-action@v1.0.0\n        with:\n          author_email: teabot@gitea.io\n          author_name: GiteaBot\n          branch: main\n          commit: true\n          commit_message: \"[skip ci] Updated changes by gitea bot\"\n          remote: git@github.com:appleboy/git-push-action.git\n          ssh_key: ${{ secrets.DEPLOY_KEY }}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleboy%2Fgit-push-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappleboy%2Fgit-push-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleboy%2Fgit-push-action/lists"}