{"id":40867027,"url":"https://github.com/quizlet/commit-changes-action","last_synced_at":"2026-01-22T00:33:03.511Z","repository":{"id":37731973,"uuid":"305523316","full_name":"quizlet/commit-changes-action","owner":"quizlet","description":"A GitHub Action for automatically committing changes","archived":false,"fork":false,"pushed_at":"2023-10-25T07:31:32.000Z","size":5248,"stargazers_count":3,"open_issues_count":11,"forks_count":2,"subscribers_count":20,"default_branch":"main","last_synced_at":"2024-08-16T22:43:36.906Z","etag":null,"topics":["actions","github-api","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/quizlet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"docs/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2020-10-19T22:01:14.000Z","updated_at":"2023-04-29T03:25:52.000Z","dependencies_parsed_at":"2023-02-15T06:31:53.099Z","dependency_job_id":null,"html_url":"https://github.com/quizlet/commit-changes-action","commit_stats":{"total_commits":542,"total_committers":3,"mean_commits":"180.66666666666666","dds":0.0719557195571956,"last_synced_commit":"7589c56643b971ec63c830ece9a0d53784635778"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":"actions/typescript-action","purl":"pkg:github/quizlet/commit-changes-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quizlet%2Fcommit-changes-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quizlet%2Fcommit-changes-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quizlet%2Fcommit-changes-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quizlet%2Fcommit-changes-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quizlet","download_url":"https://codeload.github.com/quizlet/commit-changes-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quizlet%2Fcommit-changes-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28648460,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T21:29:11.980Z","status":"ssl_error","status_checked_at":"2026-01-21T21:24:31.872Z","response_time":86,"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","github-api","typescript"],"created_at":"2026-01-22T00:33:02.777Z","updated_at":"2026-01-22T00:33:03.505Z","avatar_url":"https://github.com/quizlet.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Commit Changes Action\n\n![Check, Build, and Run](https://github.com/quizlet/commit-changes-action/workflows/Check,%20Build,%20and%20Run/badge.svg)\n[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](docs/CODE_OF_CONDUCT.md)\n\nThis is an action that uses the [Github Git Database API][1] to commit changes to a branch. This allows for easier committing against protected branches, and avoids a lot of potential edge cases that can occur when using `git` directly.\n\n## Inputs\n\n| Name              | Default/Required             | Description                                                                                                                                                   |\n| ----------------- | ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `message`         | **None**, required           | Message for the commit                                                                                                                                        |\n| `glob-patterns`   | **None**, required           | List of [minimatch glob patterns][2]. Matching files with changes will be committed. See the [examples](#example-usage) for how to specify multiple patterns. |\n| `token`           | Default Github Actions Token | Github token to authenticate as                                                                                                                               |\n| `branch`          | Default branch for the repo  | Branch to commit the changes to                                                                                                                               |\n| `append-run-info` | `true`                       | Whether to append information about the workflow to the commit                                                                                                |\n| `retries`         | 10                           | Number of times to retry the commit (which may fail due to non-fastfoward upates)                                                                             |\n\n## Outputs\n\n| Name  | Description                                                                          |\n| ----- | ------------------------------------------------------------------------------------ |\n| `sha` | SHA of the resulting commit. Will be empty string if there were no changes to commit |\n\n## Example usage\n\n```yaml\nuses: quizlet/commit-changes@[ref]\nwith:\n  message: Automated commit\n  glob-patterns: README.md\n```\n\n### Setting token\n\nUseful when:\n\n- You want to commit as a different actor than the default Github Actions token\n- You want to use an admin user to commit to a protected branch\n\n```yaml\nuses: quizlet/commit-changes@[ref]\nwith:\n  token: ${{ secret.ADMIN_TOKEN }}\n  message: Automated commit\n  glob-patterns: README.md\n```\n\n### Multiple glob patterns\n\n#### Comma separated\n\n```yaml\nuses: quizlet/commit-changes@[ref]\nwith:\n  message: Automated commit\n  glob-patterns: README.md, *.json\n```\n\n#### Newline separated\n\n```yaml\nuses: quizlet/commit-changes@[ref]\nwith:\n  message: Automated commit\n  glob-patterns: |\n    README.md\n    # Comments are allowed\n    *.json\n```\n\n## Resources\n\n- [Tech @ Quizlet Blog Post][6]: Explains background for the project\n- [Minimatch cheat sheat][3]\n- [Minimatch glob tester][4]\n- [globby-cli][5]: Useful for testing globs locally (i.e. `npx globby-cli --gitignore [glob]`)\n\n## Contributing\n\nFeel free to check out our [Contributor's Guide](docs/CONTRIBUTING.md).\n\n## License\n\nThe code and documentation in this project are released under the [MIT License](LICENSE).\n\n[1]: https://docs.github.com/en/free-pro-team@latest/rest/reference/git\n[2]: https://github.com/isaacs/minimatch\n[3]: https://github.com/motemen/minimatch-cheat-sheet\n[4]: https://globster.xyz/\n[5]: https://github.com/jamiebuilds/globby-cli\n[6]: https://medium.com/tech-quizlet/circumventing-branch-protection-for-fun-and-gitops-5133e234de7b\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquizlet%2Fcommit-changes-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquizlet%2Fcommit-changes-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquizlet%2Fcommit-changes-action/lists"}