{"id":26258768,"url":"https://github.com/lukbukkit/action-pr-limits","last_synced_at":"2025-04-30T04:48:23.064Z","repository":{"id":42238937,"uuid":"247931309","full_name":"lukbukkit/action-pr-limits","owner":"lukbukkit","description":"A GitHub action which limits pull requests on specific branches","archived":false,"fork":false,"pushed_at":"2025-03-07T20:07:36.000Z","size":1286,"stargazers_count":4,"open_issues_count":2,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-30T04:47:59.287Z","etag":null,"topics":["actions","github","nodejs","pull-requests"],"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/lukbukkit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2020-03-17T09:41:04.000Z","updated_at":"2025-03-07T20:06:52.000Z","dependencies_parsed_at":"2024-01-26T12:08:27.472Z","dependency_job_id":"ba775ab1-f65b-4ca6-8df0-ceefb32445a8","html_url":"https://github.com/lukbukkit/action-pr-limits","commit_stats":{"total_commits":41,"total_committers":3,"mean_commits":"13.666666666666666","dds":"0.24390243902439024","last_synced_commit":"e6857071d9d33f9785e33c72475083930b978d64"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukbukkit%2Faction-pr-limits","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukbukkit%2Faction-pr-limits/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukbukkit%2Faction-pr-limits/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukbukkit%2Faction-pr-limits/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lukbukkit","download_url":"https://codeload.github.com/lukbukkit/action-pr-limits/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251644826,"owners_count":21620630,"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":["actions","github","nodejs","pull-requests"],"created_at":"2025-03-13T22:14:03.977Z","updated_at":"2025-04-30T04:48:23.044Z","avatar_url":"https://github.com/lukbukkit.png","language":"TypeScript","readme":"# Limit Pull Requests\nA GitHub action which limits pull requests to given branches.\n\n## Inputs\n\nYou should at least specify one of the inputs, otherwise the usage of this action is pointless.\nIf both inputs are given the allowlist will be preferred.\nYou can use a full branch name or regular expression to match branch names.\nThe inputs `whitelist` and `blacklist` are deprecated.\n\n### `allowlist`\nA list of branches which are allowed to merge into another branch.\n\n### `denylist`\nA list of branches which aren't allowed to merge into another branch.\n\n## Example usage\nIn this example action we want to limit the branches from which pull requests into the `main` branch can be created.\nJust pull requests from the branches `development` and [`testing-v([\\d.]+)`](https://regexr.com/5ohd9) \nto the `main` branch should be allowed.  \nAll other pull request, which aren't targeting `main` branch should also be allowed.\n\n```yaml\nname: Limit PRs\n\non:\n  pull_request:\n    branches:\n      - main\n\njobs:\n  limit_main_pr:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: LukBukkit/action-pr-limits@v1\n        with:\n          allowlist: |\n            development\n            testing-v([\\d.]+)\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukbukkit%2Faction-pr-limits","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukbukkit%2Faction-pr-limits","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukbukkit%2Faction-pr-limits/lists"}