{"id":19177082,"url":"https://github.com/heitorpolidoro/autocreate-pr","last_synced_at":"2025-05-07T20:10:01.227Z","repository":{"id":40403282,"uuid":"431237018","full_name":"heitorpolidoro/autocreate-pr","owner":"heitorpolidoro","description":"Automatically create a Pull Request and can set to auto-merge","archived":false,"fork":false,"pushed_at":"2023-12-20T22:36:37.000Z","size":88,"stargazers_count":4,"open_issues_count":7,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-07T20:09:55.555Z","etag":null,"topics":["auto-merge","bash","github-actions","pull-request"],"latest_commit_sha":null,"homepage":"","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/heitorpolidoro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"heitorpolidoro"}},"created_at":"2021-11-23T20:02:17.000Z","updated_at":"2025-03-14T07:27:41.000Z","dependencies_parsed_at":"2023-01-04T12:20:45.785Z","dependency_job_id":"1e9b2ef4-b814-4aca-a29f-5cac57369aba","html_url":"https://github.com/heitorpolidoro/autocreate-pr","commit_stats":{"total_commits":53,"total_committers":4,"mean_commits":13.25,"dds":0.5094339622641509,"last_synced_commit":"572e94993d5eb91e111f20adfbdb5daea383a268"},"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heitorpolidoro%2Fautocreate-pr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heitorpolidoro%2Fautocreate-pr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heitorpolidoro%2Fautocreate-pr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heitorpolidoro%2Fautocreate-pr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heitorpolidoro","download_url":"https://codeload.github.com/heitorpolidoro/autocreate-pr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252949279,"owners_count":21830152,"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":["auto-merge","bash","github-actions","pull-request"],"created_at":"2024-11-09T10:32:04.434Z","updated_at":"2025-05-07T20:10:01.168Z","avatar_url":"https://github.com/heitorpolidoro.png","language":"Python","funding_links":["https://github.com/sponsors/heitorpolidoro"],"categories":[],"sub_categories":[],"readme":"# Autocreate Pull Request\n![GitHub last commit](https://img.shields.io/github/last-commit/heitorpolidoro/autocreate-pr)\n[![Latest](https://img.shields.io/github/release/heitorpolidoro/autocreate-pr.svg?label=latest)](https://github.com/heitorpolidoro/autocreate-pr/releases/latest)\n![GitHub Release Date](https://img.shields.io/github/release-date/heitorpolidoro/autocreate-pr)\n\n[![CI/CD](https://github.com/heitorpolidoro/autocreate-pr/actions/workflows/ci_cd.yml/badge.svg)](https://github.com/heitorpolidoro/autocreate-pr/actions/workflows/ci_cd.yml)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=heitorpolidoro_autocreate-pr\u0026metric=alert_status)](https://sonarcloud.io/summary/new_code?id=heitorpolidoro_autocreate-pr)\n\n![GitHub](https://img.shields.io/github/license/heitorpolidoro/autocreate-pr)\n\nAction to create a pull request automatically with an option to set auto-merge.\n\n### Usage\n```yaml\nname: Create Pull Request\n\non:\n  create\n\njobs:\n  create-PR:\n    name: Create Pull Request\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Creating Pull Request\n        uses: heitorpolidoro/autocreate-pr@vmaster\n        with:\n            draft: true|false # default: false\n            auto_merge: true|false # default: false\n        env:\n          \u003cuser\u003e: ${{ secrets.\u003cUSER_PERSONAL_ACCESS_TOKEN\u003e }}\n           # or          \n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n```\nTo allow a user to automatically create a pull request, define an `env` with the GitHub username passing in the user's personal access token, \nor pass the GITHUB_TOKEN env to allow to any user.\nTo enable auto-merge: [Automatically merging a pull request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheitorpolidoro%2Fautocreate-pr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheitorpolidoro%2Fautocreate-pr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheitorpolidoro%2Fautocreate-pr/lists"}