{"id":15704206,"url":"https://github.com/peter-evans/close-fork-pulls","last_synced_at":"2025-05-12T13:26:02.278Z","repository":{"id":42702291,"uuid":"269028066","full_name":"peter-evans/close-fork-pulls","owner":"peter-evans","description":"A GitHub action to close pull requests from forks","archived":false,"fork":false,"pushed_at":"2025-05-10T02:16:33.000Z","size":4313,"stargazers_count":6,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-10T03:22:47.571Z","etag":null,"topics":["automation","close-fork-pulls","github-action","pull-requests","workflow"],"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/peter-evans.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,"zenodo":null},"funding":{"github":"peter-evans"}},"created_at":"2020-06-03T08:08:37.000Z","updated_at":"2025-05-10T02:15:46.000Z","dependencies_parsed_at":"2023-11-25T03:22:15.985Z","dependency_job_id":"83fbce69-8c2d-4d7a-8673-571de43616bd","html_url":"https://github.com/peter-evans/close-fork-pulls","commit_stats":{"total_commits":254,"total_committers":3,"mean_commits":84.66666666666667,"dds":0.2637795275590551,"last_synced_commit":"8b6117d9466c3385e2045187c849ac7e2ea59cb4"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-evans%2Fclose-fork-pulls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-evans%2Fclose-fork-pulls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-evans%2Fclose-fork-pulls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-evans%2Fclose-fork-pulls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peter-evans","download_url":"https://codeload.github.com/peter-evans/close-fork-pulls/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253357715,"owners_count":21895918,"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":["automation","close-fork-pulls","github-action","pull-requests","workflow"],"created_at":"2024-10-03T20:10:44.799Z","updated_at":"2025-05-12T13:26:02.257Z","avatar_url":"https://github.com/peter-evans.png","language":"TypeScript","funding_links":["https://github.com/sponsors/peter-evans"],"categories":[],"sub_categories":[],"readme":"# Close Fork Pulls\n[![CI](https://github.com/peter-evans/close-fork-pulls/workflows/CI/badge.svg)](https://github.com/peter-evans/close-fork-pulls/actions?query=workflow%3ACI)\n[![GitHub Marketplace](https://img.shields.io/badge/Marketplace-Close%20Fork%20Pulls-blue.svg?colorA=24292e\u0026colorB=0366d6\u0026style=flat\u0026longCache=true\u0026logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAM6wAADOsB5dZE0gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAERSURBVCiRhZG/SsMxFEZPfsVJ61jbxaF0cRQRcRJ9hlYn30IHN/+9iquDCOIsblIrOjqKgy5aKoJQj4O3EEtbPwhJbr6Te28CmdSKeqzeqr0YbfVIrTBKakvtOl5dtTkK+v4HfA9PEyBFCY9AGVgCBLaBp1jPAyfAJ/AAdIEG0dNAiyP7+K1qIfMdonZic6+WJoBJvQlvuwDqcXadUuqPA1NKAlexbRTAIMvMOCjTbMwl1LtI/6KWJ5Q6rT6Ht1MA58AX8Apcqqt5r2qhrgAXQC3CZ6i1+KMd9TRu3MvA3aH/fFPnBodb6oe6HM8+lYHrGdRXW8M9bMZtPXUji69lmf5Cmamq7quNLFZXD9Rq7v0Bpc1o/tp0fisAAAAASUVORK5CYII=)](https://github.com/marketplace/actions/close-fork-pulls)\n\nA GitHub action to close pull requests from forks.\n\n## Usage\n\n```yml\nname: Close Fork Pulls\non:\n  schedule:\n    - cron:  '0 0 * * *'\njobs:\n  rebase:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Close Pull\n        uses: peter-evans/close-fork-pulls@v3\n        with:\n          comment: |\n            Sorry. Pull requests are not accepted for this repository.\n            Auto-closing this pull request.\n```\n\n### Action inputs\n\n| Name | Description | Default |\n| --- | --- | --- |\n| `token` | `GITHUB_TOKEN` or a `repo` scoped [PAT](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token). | `GITHUB_TOKEN` |\n| `repository` | The GitHub repository containing the pull request. | `github.repository` (Current repository) |\n| `comment` | A comment to make on the pull request before closing. | |\n\n### Accessing pull requests in other repositories\n\nYou can close pull requests in another repository by using a [PAT](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) instead of `GITHUB_TOKEN`.\nThe user associated with the PAT must have write access to the repository.\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeter-evans%2Fclose-fork-pulls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeter-evans%2Fclose-fork-pulls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeter-evans%2Fclose-fork-pulls/lists"}