{"id":25898142,"url":"https://github.com/coderrob/commit-and-push","last_synced_at":"2026-04-15T16:33:53.246Z","repository":{"id":277442009,"uuid":"932422669","full_name":"Coderrob/commit-and-push","owner":"Coderrob","description":"GitHub Action to commit changes and push to a remote","archived":false,"fork":false,"pushed_at":"2025-09-24T15:02:29.000Z","size":421,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-24T16:32:06.526Z","etag":null,"topics":["action","github-action","github-api","gitops"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Coderrob.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","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},"funding":{"github":["coderrob"],"buy_me_a_coffee":"coderrob"}},"created_at":"2025-02-13T22:15:08.000Z","updated_at":"2025-09-24T15:02:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"7b974f93-af14-49c5-9580-de63b6f0c543","html_url":"https://github.com/Coderrob/commit-and-push","commit_stats":null,"previous_names":["coderrob/commit-and-push"],"tags_count":2,"template":false,"template_full_name":"Coderrob/typescript-action-template","purl":"pkg:github/Coderrob/commit-and-push","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coderrob%2Fcommit-and-push","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coderrob%2Fcommit-and-push/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coderrob%2Fcommit-and-push/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coderrob%2Fcommit-and-push/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Coderrob","download_url":"https://codeload.github.com/Coderrob/commit-and-push/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coderrob%2Fcommit-and-push/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31849864,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: 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":["action","github-action","github-api","gitops"],"created_at":"2025-03-03T00:17:13.320Z","updated_at":"2026-04-15T16:33:53.240Z","avatar_url":"https://github.com/Coderrob.png","language":"TypeScript","funding_links":["https://github.com/sponsors/coderrob","https://buymeacoffee.com/coderrob"],"categories":[],"sub_categories":[],"readme":"# Commit and Push Changes\n\n[![CI](https://github.com/Coderrob/commit-and-push/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/Coderrob/commit-and-push/actions/workflows/ci.yml)\n[![Check dist](https://github.com/Coderrob/commit-and-push/actions/workflows/check-dist.yml/badge.svg?branch=main)](https://github.com/Coderrob/commit-and-push/actions/workflows/check-dist.yml)\n[![Coverage](https://github.com/Coderrob/commit-and-push/raw/main/badges/coverage.svg)](https://github.com/Coderrob/commit-and-push/raw/main/badges/coverage.svg)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)\n[![Node \u003e=20](https://img.shields.io/badge/node-%3E%3D20-brightgreen)](https://nodejs.org/)\n\nThis action automates committing and pushing code changes to a GitHub\nrepository. It ensures updates are regularly applied without manual intervention\nwhile following security best practices.\n\n## Branding\n\n| Attribute | Value      |\n| --------- | ---------- |\n| Color     | blue       |\n| Icon      | git-commit |\n\n## Inputs\n\n| Name               | Description                                                 | Default                                         | Required | Deprecation |\n| ------------------ | ----------------------------------------------------------- | ----------------------------------------------- | -------- | ----------- |\n| github-hostname    | GitHub hostname to support GitHub Enterprise installations. | github.com                                      | ❌ No    | -           |\n| github-token       | GitHub token used for authentication                        | ${{ github.token }}                             | ✅ Yes   | -           |\n| repository         | GitHub repository in the format owner/repository            | ${{ github.repository }}                        | ❌ No    | -           |\n| remote-ref         | Remote repository reference                                 | origin                                          | ❌ No    | -           |\n| fetch-latest       | Whether to fetch latest before committing changes           | false                                           | ❌ No    | -           |\n| branch             | Name of the branch to push the code into                    | ${{ github.ref_name }}                          | ❌ No    | -           |\n| create-branch      | Create branch if it does not exist                          | false                                           | ❌ No    | -           |\n| directory-path     | Path to the directory containing files to commit and push   | .                                               | ❌ No    | -           |\n| author-name        | Name of the commit author                                   | GitHub Actions                                  | ❌ No    | -           |\n| author-email       | Email of the commit author                                  | \u003cgithub-actions@noreply.github.com\u003e             | ❌ No    | -           |\n| sign-commit        | Whether to sign commits using GPG (true/false)              | false                                           | ❌ No    | -           |\n| commit-message     | Commit message for the changes                              | Automated commit-and-push by GitHub Actions     | ❌ No    | -           |\n| force-push         | Whether to force push (true/false)                          | false                                           | ❌ No    | -           |\n| open-pull-request  | Whether to open pull request (true/false)                   | false                                           | ❌ No    | -           |\n| pull-request-title | Title of the pull request when open-pull-request is true    | Automated Pull Request                          | ❌ No    | -           |\n| pull-request-body  | Body of the pull request when open-pull-request is true.    | Automated pull request created by {author-name} | ❌ No    | -           |\n\n## Outputs\n\n| Name                | Description                                                                      | Value |\n| ------------------- | -------------------------------------------------------------------------------- | ----- |\n| commit-hash         | The hash of the latest commit                                                    |       |\n| pull-request-number | The number of the created pull request (only set when open-pull-request is true) |       |\n| pull-request-url    | The URL of the created pull request (only set when open-pull-request is true)    |       |\n\n## Environment Variables\n\nThis action does not require any environment variables.\n\n## Dependencies\n\nThis section provides a graph of dependencies relevant to this action.\n\n    dependencies:\n    - GitHub Actions Runner\n    - Specific environment variables\n    - Required files and configurations\n\n## Runs\n\n**Execution Type:** node20\n\nThis action uses a Node.js runtime configuration.\n\n## Example Usage\n\n    jobs:\n      example:\n        runs-on: ubuntu-latest\n        steps:\n          - uses: actions/checkout@v2\n          - name: Run Commit and Push Changes\n            uses: ./\n            with:\n              github-token: ${{ github.token }}\n              repository: ${{ github.repository }}\n              branch: main\n              directory-path: .\n              author-name: GitHub Actions\n              author-email: github-actions@noreply.github.com\n              commit-message: Automated commit-and-push by GitHub Actions\n\n## Acknowledgments\n\nThis project leverages Markdown generation techniques from\n[coderrob.com](https://coderrob.com), developed by **Robert Lindley**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderrob%2Fcommit-and-push","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderrob%2Fcommit-and-push","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderrob%2Fcommit-and-push/lists"}