{"id":6330843,"name":"remal-github-actions/push-back","ecosystem":"actions","description":"Commits and pushes changes, reports whether anything was pushed","homepage":null,"licenses":"mit","normalized_licenses":["MIT"],"repository_url":"https://github.com/remal-github-actions/push-back","keywords_array":[],"namespace":"remal-github-actions","versions_count":2,"first_release_published_at":"2022-09-03T11:14:18.000Z","latest_release_published_at":"2025-11-24T08:05:12.000Z","latest_release_number":"v2","last_synced_at":"2026-05-18T23:15:51.154Z","created_at":"2023-02-14T00:30:49.939Z","updated_at":"2026-05-18T23:15:51.154Z","registry_url":"https://github.com/remal-github-actions/push-back","install_command":null,"documentation_url":null,"metadata":{"name":"Git commit \u0026 push","description":"Commits and pushes changes, reports whether anything was pushed","version":2,"inputs":{"message":{"description":"Commit message","required":true},"committerName":{"description":"Git user.name","required":false,"default":"github-actions[bot]"},"committerEmail":{"description":"Git user.email","required":false,"default":"41898282+github-actions[bot]@users.noreply.github.com"},"dryRun":{"description":"Set to 'true' to disable Git push","required":false,"default":"false"}},"outputs":{"result":{"value":"${{steps.commit.outputs.result}}","description":"'nothing-changed' - no files were changed, nothing to commit;\n'remote-changed' - remote repository branch has been changed, push-back is skipped;\n'pushed-successfully' - pushed successfully;\n"}},"runs":{"using":"composite","steps":[{"name":"Configure git, commit \u0026 push","id":"commit","shell":"bash","run":"set -euo pipefail\n\necho Configuring Git user...\ngit config user.name \"${{inputs.committerName}}\"\ngit config user.email \"${{inputs.committerEmail}}\"\n\necho Checking for changes...\nif [[ -z $(git status --porcelain) ]]; then\n  echo No changes to commit.\n  echo \"result=nothing-changed\" \u003e\u003e $GITHUB_OUTPUT\n  exit 0\nfi\n\necho Changes detected, staging...\ngit add --all\n\necho Committing...\ngit commit -m \"${{inputs.message}}\"\n\necho Pushing...\nset +e\npush_log_file=\"$(mktemp)\"\ngit push ${{fromJSON(inputs.dryRun) \u0026\u0026 '--dry-run' || ''}} origin \"HEAD:${{github.ref}}\" 2\u003e\u00261 | tee \"$push_log_file\"\npush_exit=${PIPESTATUS[0]}\nset -e\n\nif [[ $push_exit -eq 0 ]]; then\n  echo Push succeeded.\n  echo \"result=pushed-successfully\" \u003e\u003e $GITHUB_OUTPUT\nelif grep -q \"non-fast-forward\" \"$push_log_file\" || grep -q \"\\[rejected\\]\" \"$push_log_file\"; then\n  echo Push rejected because remote has new commits.\n  echo \"result=remote-changed\" \u003e\u003e $GITHUB_OUTPUT\nelse\n  echo Push failed for some other reason.\n  exit 1\nfi\n"}]},"default_branch":"main","path":null},"repo_metadata":{"id":326842995,"uuid":"1102531219","full_name":"remal-github-actions/push-back","owner":"remal-github-actions","description":null,"archived":false,"fork":false,"pushed_at":"2025-12-23T22:48:03.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-25T12:21:43.873Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/remal-github-actions.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":"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}},"created_at":"2025-11-23T16:21:02.000Z","updated_at":"2025-12-23T22:48:04.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/remal-github-actions/push-back","commit_stats":null,"previous_names":["remal-github-actions/push-back"],"tags_count":1,"template":false,"template_full_name":"remal-github-actions/template-composite","purl":"pkg:github/remal-github-actions/push-back","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remal-github-actions%2Fpush-back","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remal-github-actions%2Fpush-back/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remal-github-actions%2Fpush-back/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remal-github-actions%2Fpush-back/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/remal-github-actions","download_url":"https://codeload.github.com/remal-github-actions/push-back/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remal-github-actions%2Fpush-back/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28063963,"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","status":"online","status_checked_at":"2025-12-26T02:00:06.189Z","response_time":55,"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"},"owner_record":{"login":"remal-github-actions","name":"Remal GitHub actions","uuid":"77626445","kind":"organization","description":"","email":null,"website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/77626445?v=4","repositories_count":18,"last_synced_at":"2023-03-04T04:45:09.309Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/remal-github-actions","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-14T09:47:43.684Z","updated_at":"2023-03-04T04:45:09.413Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/remal-github-actions","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/remal-github-actions/repositories"},"tags":[{"name":"v2","sha":"05a866d62d2ca31c6d1fd6b535584357035b2f1c","kind":"commit","published_at":"2025-11-24T08:05:12.000Z","download_url":"https://codeload.github.com/remal-github-actions/push-back/tar.gz/v2","html_url":"https://github.com/remal-github-actions/push-back/releases/tag/v2","dependencies_parsed_at":"2025-12-14T15:05:00.600Z","dependency_job_id":null,"purl":"pkg:github/remal-github-actions/push-back@v2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remal-github-actions%2Fpush-back/tags/v2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remal-github-actions%2Fpush-back/tags/v2/manifests"}]},"repo_metadata_updated_at":"2025-12-26T23:08:44.883Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":21,"rankings":{"downloads":null,"dependent_repos_count":9.126921248613531,"dependent_packages_count":0.0,"stargazers_count":34.86927586753288,"forks_count":35.26224053240374,"docker_downloads_count":null,"average":19.814609412137536},"purl":"pkg:githubactions/remal-github-actions/push-back","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/remal-github-actions/push-back","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/remal-github-actions/push-back","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/remal-github-actions/push-back/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-12-24T01:01:16.252Z","issues_count":4,"pull_requests_count":757,"avg_time_to_close_issue":114.75,"avg_time_to_close_pull_request":54951.704871060174,"issues_closed_count":4,"pull_requests_closed_count":698,"pull_request_authors_count":3,"issue_authors_count":2,"avg_comments_per_issue":0.0,"avg_comments_per_pull_request":0.023778071334214,"merged_pull_requests_count":676,"bot_issues_count":3,"bot_pull_requests_count":678,"past_year_issues_count":1,"past_year_pull_requests_count":231,"past_year_avg_time_to_close_issue":100.0,"past_year_avg_time_to_close_pull_request":4467.074468085107,"past_year_issues_closed_count":1,"past_year_pull_requests_closed_count":188,"past_year_pull_request_authors_count":2,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":0.0,"past_year_avg_comments_per_pull_request":0.017316017316017316,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":202,"past_year_merged_pull_requests_count":183,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/remal-github-actions%2Fpush-back/issues","maintainers":[{"login":"remal","count":80,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/remal"}],"active_maintainers":[{"login":"remal","count":30,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/remal"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/remal-github-actions%2Fpush-back/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/remal-github-actions%2Fpush-back/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/remal-github-actions%2Fpush-back/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/remal-github-actions%2Fpush-back/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/remal-github-actions%2Fpush-back/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/remal-github-actions%2Fpush-back/codemeta","maintainers":[]}