Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Automatically assigns a member from a Github team to issues / PRs

License

Notifications You must be signed in to change notification settings

aws-github-ops/aws-team-assignment-manager

team-assignment-manager

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

Inputs

team

The team to assign to issues / PRs

Required

exempt-team

If the issue / PR was submitted by someone from this team, do not assign anyone to the issue

default: does not check submitter

github-token

The token must have read:org permission, so the default github token for the repo will not work.

Required

Example

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"

Security

See CONTRIBUTING for more information.

License

This project is licensed under the Apache-2.0 License.

About

Automatically assigns a member from a Github team to issues / PRs

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published