Giter Club home page Giter Club logo

add-to-milestone's People

Contributors

andrefcdias avatar dependabot[bot] avatar druspencer avatar

Stargazers

 avatar  avatar  avatar

Forkers

druspencer

add-to-milestone's Issues

Run action only for PR owners of specific teams

Why

To avoid mixing outside with internal contributions and to better segment work.

User story

As a manager
I want outside contributor's PRs not to be assigned to my team's milestone
So that I can have a clear vision of the work in the milestone

Acceptance Criteria

Scenario 1

Given that there is a team called cool devs and
Given that I have configured my action to only run for the cool devs team
When someone that is not part of the cool devs team creates a PR
Then the action will not run for that PR

Ignore past due milestones

Why

So no PR gets assigned to milestones that are no longer relevant to the project.

User story

As a Github Action consumer
I want my PRs not to be assigned to milestones that are past their due date
So that I can have my PRs assigned to relevant milestones on my project

Acceptance Criteria

Scenario 1

Given that I only have a milestone called "June project cycle" that has no due date and is not closed
When I configure "June project cycle" on the milestone action input
Then my PRs will be assigned that milestone

Scenario 2

Given that I have a milestone called "January project cycle" that has a due date of January 2000 (past its due)
When I configure "January project cycle" on the milestone action input
Then my action will fail with the message "No valid milestones were found with the name 'January project cycle'."

Scenario 3

Given that I have a milestone called "January project cycle" that has a due date of January 2000 (past its due)
When I configure "January project cycle" on the milestone action input and
When I configure true on the allow-inactive action input
Then my PRs will be assigned that milestone

Pattern matching for milestone name

Why

To be able to have flexibility in assigning the PRs as currently only a fixed name is supported.

User story

As a Github Action consumer
I want to be able to dynamically assign the milestone based on an expression
So that I can change the milestone monthly by changing the name

Acceptance Criteria

Scenario 1

Given that I only have a milestone called "June project cycle"
When I configure "* project cycle" on the milestone action input
Then my PRs will be assigned the "June project cycle"

Scenario 2

Given that I have two milestones called "June project cycle" and "July project cycle"
When I configure "* project cycle" on the milestone action input
Then my PRs will be assigned the milestone that was created first

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.