Automatically assigns a member from a Github team to issues / PRs
Whoever from the given Github team has the fewest number of currently assigned issues / PRs from the team will be assigned to the issue when this action is ran
The team to assign to issues / PRs
Required
If the issue / PR was submitted by someone from this team, do not assign anyone to the issue
default: does not check submitter
The token must have read:org permission, so the default github token for the repo will not work.
Required
name: "Assigns members from team repo-dev to PRs"
on:
pull_request_target:
types: [opened]
jobs:
team-assignment-manager:
runs-on: ubuntu-latest
steps:
- uses: aws-github-ops/[email protected]
with:
github-token: "${{ secrets.MY_PAT }}"
team: "repo-dev"
exempt-team: "repo-team"
See CONTRIBUTING for more information.
This project is licensed under the Apache-2.0 License.