Skip to content

Commit

Permalink
Merge pull request #6885 from microsoft/seanmcm/1_2_0
Browse files Browse the repository at this point in the history
1.2.0
  • Loading branch information
sean-mcmanus authored Feb 1, 2021
2 parents 25d7497 + 399b436 commit 978d9ae
Show file tree
Hide file tree
Showing 211 changed files with 3,079 additions and 1,406 deletions.
210 changes: 105 additions & 105 deletions .github/actions/StaleCloser/StaleCloser.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions .github/actions/StaleCloser/StaleCloser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ export class StaleCloser extends ActionBase {
ignoreMilestoneNames?: string,
ignoreMilestoneIds?: string,
minimumVotes?: number,
maximumVotes?: number
maximumVotes?: number,
involves?: string
)
{
super(labels, milestoneName, milestoneId, ignoreLabels, ignoreMilestoneNames, ignoreMilestoneIds, minimumVotes, maximumVotes);
super(labels, milestoneName, milestoneId, ignoreLabels, ignoreMilestoneNames, ignoreMilestoneIds, minimumVotes, maximumVotes, involves);
}

async run() {
Expand Down
2 changes: 2 additions & 0 deletions .github/actions/StaleCloser/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ inputs:
descriptions: Only issues with at least this many votes will be considered.
maximumVotes:
descriptions: Only issues fewer or equal to this many votes will be considered.
involves:
descriptions: Qualifier to find issues that in some way involve a certain user either as an author, assignee, or mentions.
readonly:
description: If true, changes are not applied.
runs:
Expand Down
40 changes: 20 additions & 20 deletions .github/actions/StaleCloser/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .github/actions/StaleCloser/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ class StaleCloserAction extends Action {
getInput('ignoreMilestoneNames') || undefined,
getInput('ignoreMilestoneIds') || undefined,
+(getInput('minimumVotes') || 0),
+(getInput('maximumVotes') || 9999999)
+(getInput('maximumVotes') || 9999999),
getInput('involves') || undefined
).run()
}
}
Expand Down
Loading

0 comments on commit 978d9ae

Please sign in to comment.