{"id":21075257,"url":"https://github.com/maxking/forgejo-create-pr","last_synced_at":"2026-02-15T23:03:34.342Z","repository":{"id":263142044,"uuid":"889489654","full_name":"maxking/forgejo-create-pr","owner":"maxking","description":"Action for use with Forgejo to commit any changes and create a Pull Request","archived":false,"fork":false,"pushed_at":"2024-12-08T08:32:06.000Z","size":63,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T03:44:36.017Z","etag":null,"topics":["forgejo","forgejo-actions"],"latest_commit_sha":null,"homepage":"","language":null,"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/maxking.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}},"created_at":"2024-11-16T13:12:01.000Z","updated_at":"2025-01-19T09:01:17.000Z","dependencies_parsed_at":"2025-01-20T22:46:39.424Z","dependency_job_id":"7f12272a-3925-4f5f-a615-8e158769dd1d","html_url":"https://github.com/maxking/forgejo-create-pr","commit_stats":null,"previous_names":["maxking/forgejo-create-pr"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/maxking/forgejo-create-pr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxking%2Fforgejo-create-pr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxking%2Fforgejo-create-pr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxking%2Fforgejo-create-pr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxking%2Fforgejo-create-pr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxking","download_url":"https://codeload.github.com/maxking/forgejo-create-pr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxking%2Fforgejo-create-pr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000660,"owners_count":26082817,"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-10-08T02:00:06.501Z","response_time":56,"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"}},"keywords":["forgejo","forgejo-actions"],"created_at":"2024-11-19T19:20:46.194Z","updated_at":"2025-10-08T20:23:03.494Z","avatar_url":"https://github.com/maxking.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Forgejo Create Pull Request Action\n\nThis is a custom action which glues together the right commands to create\na pull request from changes in Forgejo Actions. The existing Github Create\nPull Request action does not work with Forgejo due to incompatibilities in\nthe API code.\n\nThis repo is mostly a mirror of my local copy in private git repo that I\nwanted to share with others.\n\n## Usage\n\nAdd the following workflow to your repository:\n\n\n```yaml\nname: Create Pull Request\non:\n  push:\n    branches:\n      - feature/**  # or your desired branch pattern\n\njobs:\n  create-pr:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Create Pull Request\n        uses: https://github.com/maxking/forgejo-create-pr@main\n        with:\n          # required\n          token: ${{ secrets.GH_TOKEN }}\n          # optional\n          base: 'main'\n          add-paths: '.'\n          commit-message: 'feat: automated changes'\n          pr-title: 'feat: new automated changes'\n          pr-body: 'This PR contains automated changes'\n          pr-condition-cmd: 'git status --porcelain'\n```\n## Inputs\n\n| Input | Description | Required | Default |\n|-------|-------------|----------|---------|\n| `base` | Base branch to create PR against | Yes | `main` |\n| `token` | PAT for creating PR | Yes | - |\n| `add-paths` | Paths to add to commit | No | `.` |\n| `commit-message` | Commit message | No | `Automated commit` |\n| `pr-title` | PR title | No | `Automated PR` |\n| `pr-body` | PR body | No | `Automated PR` |\n| `pr-condition-cmd` | Command to check if PR should be created | No | `git status --porcelain` |\n| `pr-branch` | Branch to create PR against | No | `automated-pr` |\n| `commit-user` | Commit user | No | `Forgejo Bot` |\n| `commit-email` | Commit email | No | `forgejo@users.noreply.git` |\n\n\n## License\nThe code in this repo is licensed under Apache 2.0. See the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxking%2Fforgejo-create-pr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxking%2Fforgejo-create-pr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxking%2Fforgejo-create-pr/lists"}