Git Product home page Git Product logo

auto-assign's People

Contributors

bubkoo avatar semantic-release-bot avatar wow-actions-bot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

auto-assign's Issues

Feature toggle for round-robin assignment

Hi nice workflow which we would like to use with an additional functionality:
When specifying a team as either reviewer or assignee and then configure numberOfAssignees, it always take the first user from the list. It would be nice to have some round-robin functionality here.

Expected Behavior

Have a feature-toggle like randomReviewers and randomAssignees that can be set to true to assign random ppl from the team or list of people.

Possible Solution

Some changes around

teams: sampleSize(teams, count),

Output the username which was assigned to the issue or pr

Expected Behavior

Output the username which was assigned to the issue or pr that can be used in other step.

Possible Solution

For example:

// In function addAssignees
+ core.setOutput('assignees', assignees.join(', '));

Additional Context

Workflow not working on PR

Hi I found that this workflow will be not working (run successfully but no reviewers added.) when submitting a PR from a fork to original.

refer this PR: TaleWorlds/Documentations#17

I tried to start a PR from YiGu-Studio/Documentations one branch to TaleWorlds/Documentations master branch.

Here is the screenshot for the workflow job.

Screen Shot 2020-10-09 at 1 35 38 PM

Thank you for your help.

addAssignees: author while author=dependabot[bot] user causes Error: Not Found

When dependabot submits a PR for github action dependancies with user: "dependabot[bot]" (wich does not exist), causes error.

Download action repository 'wow-actions/auto-assign@v2' (SHA:ccf5443b0f27bea0a022959f4ae2e9102f6972bb)

Excluding the "dependencies" label doesn't work.

on
  pull_request:
    types: [opened]

Run with:

  with:
    GITHUB_TOKEN: ***
    addAssignees: author
    addReviewers: true
    reviewers: tekert
    assignees: tekert
    numberOfReviewers: 1
    numberOfAssignees: 0
    skipDraft: true
    skipKeywords: wip, draft
    excludeLabels: dependencies

A dependabot PR with 'dependencies' label still gets checked and outputs:

Reviewers: [
  "tekert"
]
Team Reviewers: []
Assignees: [
  "dependabot[bot]"
]
Error: HttpError: Not Found
Error: Not Found

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.