Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Behavior] Auto-assign maintainer to new issues #17

Closed
benbalter opened this issue Oct 10, 2016 · 2 comments
Closed

[Behavior] Auto-assign maintainer to new issues #17

benbalter opened this issue Oct 10, 2016 · 2 comments

Comments

@benbalter
Copy link
Contributor

Another behavior of @jekyllbot (that's relatively new), when an issue comes in and @mentions an affinity team, one of the team captains are randomly assigned the issue. They're obviously free to unassigned or change assignment, but it creates a sense of distributed ownership of issues, based on where they are in the codebase.

@bkeepers
Copy link
Contributor

bkeepers commented Oct 10, 2016

After #13, here's how this could potentially be implemented using pre-built actions (which aren't implemented yet):

  - on:
      - issues.created
      - pull_request.created
      - issues.labeled
      - pull_request.labeled
    when:
      label: security
    then:
      # Assign a specific person
      assign: benbalter

      # or: Assign a random maintainer with commit access
      assign:
        random: true

      # or: Assign a random person from a team
      assign:
        random:
          from_team: security-first-responders

      # or: Assign a random person from a file
      assign:
        random:
          from_file: .github/maintainers.yml

@bkeepers
Copy link
Contributor

After #90, this should be implemented as a separate plugin. Please do investigate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants