-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(milestone): add new input
pull-request-only-any-milestones
This new input will let you process only the pull requests that contains one of the specified milestone. Closes #518
- Loading branch information
Showing
21 changed files
with
562 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
documentation/docs/08-pull-requests/01-inputs/23-only-any-milestones-input.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
id: pull-request-only-any-milestones-input | ||
title: Pull request only any milestones input | ||
description: | | ||
All the information you need to know about the pull request only any milestones input. | ||
Including a detailed description and an example. | ||
tags: | ||
- Pull requests | ||
- Inputs | ||
- Milestones | ||
--- | ||
|
||
### Input {#input} | ||
|
||
Name: `pull-request-only-any-milestones` | ||
Type: `string[]` | ||
Default value: `[]` | ||
|
||
### Description {#description} | ||
|
||
This input will let you process only the pull requests that are linked to a milestone which is white-listed with this input. | ||
This can be useful when you use the milestones for triage. | ||
|
||
### Example {#example} | ||
|
||
```yml {6-8} | ||
# ... | ||
name: Stale | ||
id: stale | ||
uses: sonia-corporation/stale@latest | ||
with: | ||
pull-request-only-any-milestones: | | ||
milestone-x | ||
milestone-y | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.