andrefcdias / add-to-milestone Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
To avoid mixing outside with internal contributions and to better segment work.
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
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
So no PR gets assigned to milestones that are no longer relevant to the project.
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
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
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'."
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
To be able to have flexibility in assigning the PRs as currently only a fixed name is supported.
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
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"
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.