{"id":18799110,"url":"https://github.com/marcoeidinger/swift-api-assign-reviewer","last_synced_at":"2026-05-08T04:50:15.450Z","repository":{"id":45290513,"uuid":"250440802","full_name":"MarcoEidinger/swift-api-assign-reviewer","owner":"MarcoEidinger","description":"GitHub action to detect access control changes (open/public) in Swift files and set reviewer/assignee to pull request","archived":false,"fork":false,"pushed_at":"2023-01-06T02:43:42.000Z","size":1734,"stargazers_count":1,"open_issues_count":3,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-16T02:02:24.561Z","etag":null,"topics":["actions","github-actions","swift"],"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/MarcoEidinger.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}},"created_at":"2020-03-27T04:34:07.000Z","updated_at":"2022-06-24T09:17:49.000Z","dependencies_parsed_at":"2023-01-11T17:22:48.016Z","dependency_job_id":null,"html_url":"https://github.com/MarcoEidinger/swift-api-assign-reviewer","commit_stats":{"total_commits":51,"total_committers":3,"mean_commits":17.0,"dds":"0.43137254901960786","last_synced_commit":"35a22d8013214b8dc099943f9f3ac7a44f1a9217"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcoEidinger%2Fswift-api-assign-reviewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcoEidinger%2Fswift-api-assign-reviewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcoEidinger%2Fswift-api-assign-reviewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcoEidinger%2Fswift-api-assign-reviewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarcoEidinger","download_url":"https://codeload.github.com/MarcoEidinger/swift-api-assign-reviewer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239727280,"owners_count":19687144,"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-actions","swift"],"created_at":"2024-11-07T22:14:07.521Z","updated_at":"2026-01-02T15:30:13.060Z","avatar_url":"https://github.com/MarcoEidinger.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Build](https://github.com/MarcoEidinger/swift-api-assign-reviewer/workflows/Build/badge.svg)\n[![codecov](https://codecov.io/gh/MarcoEidinger/swift-api-assign-reviewer/branch/master/graph/badge.svg)](https://codecov.io/gh/MarcoEidinger/swift-api-assign-reviewer)\n\n# swift-api-assign-reviewer\n\nGitHub action to detect access control changes (open/public) in Swift files and set reviewer/assignee to pull request \n\nExample\n\n```yml\nname: API-Protection\n\non:\n  pull_request:\n    types: [opened, synchronize]\n\njobs:\n\n  auto-assign-reviewer:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: MarcoEidinger/swift-api-assign-reviewer@1.0.0\n        with:\n          repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n          configuration-path: \".github/swift-api-assign-reviewer.yml\"\n```\n## Configuration\n\nDefine a **configuration** file in your repository, e.g `.github/swift_api_assign_reviewer.yml`\n\n### Example\n\n```yml\n# Set to true to add reviewers to pull requests\naddReviewers: true\n\n# Set to true to add assignees to pull requests\naddAssignees: false\n\n# A list of reviewers to be added to pull requests (GitHub user name)\nreviewers:\n  - MarcoEidinger\n\n# A number of reviewers added to the pull request\n# Set 0 to add all the reviewers (default: 0)\nnumberOfReviewers: 0\n```\n\n### Full Specification\n\n```yml\n# Set to true to add reviewers to pull requests\naddReviewers: true\n\n# Set to true to add assignees to pull requests\naddAssignees: false\n\n# A list of reviewers to be added to pull requests (GitHub user name)\nreviewers:\n  - reviewerA\n  - reviewerB\n  - reviewerC\n\n# A number of reviewers added to the pull request\n# Set 0 to add all the reviewers (default: 0)\nnumberOfReviewers: 0\n\n# A list of assignees, overrides reviewers if set\n# assignees:\n#   - assigneeA\n\n# A number of assignees to add to the pull request\n# Set to 0 to add all of the assignees.\n# Uses numberOfReviewers if unset.\n# numberOfAssignees: 2\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcoeidinger%2Fswift-api-assign-reviewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcoeidinger%2Fswift-api-assign-reviewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcoeidinger%2Fswift-api-assign-reviewer/lists"}