Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(inputs): add new inputs to only process items with specific assi…
…gnees Add the input `issue-only-any-assignees`. Add the input `pull-request-only-any-assignees`. You can use them to only process issues and PRs which have one of the specified assignee(s). Closes #559
- Loading branch information
Showing
25 changed files
with
1,992 additions
and
158 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
35 changes: 35 additions & 0 deletions
35
documentation/docs/06-issues/01-inputs/23-only-any-assignees-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: issue-only-any-assignees-input | ||
title: Issue only any assignees input | ||
description: | | ||
All the information you need to know about the issue only any assignees input. | ||
Including a detailed description and an example. | ||
tags: | ||
- Issues | ||
- Inputs | ||
- Assignees | ||
--- | ||
|
||
### Input {#input} | ||
|
||
Name: `issue-only-any-assignees` | ||
Type: `string[]` | ||
Default value: `[]` | ||
|
||
### Description {#description} | ||
|
||
This input will let you process only the issues that are linked to an assignee which is white-listed with this input. | ||
This can be useful when you use the assignees for triage. | ||
|
||
### Example {#example} | ||
|
||
```yml {6-8} | ||
# ... | ||
name: Stale | ||
id: stale | ||
uses: sonia-corporation/stale@latest | ||
with: | ||
issue-only-any-assignees: | | ||
C0ZEN | ||
maintainers | ||
``` |
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/26-only-any-assignees-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-assignees-input | ||
title: Pull request only any assignees input | ||
description: | | ||
All the information you need to know about the pull request only any assignees input. | ||
Including a detailed description and an example. | ||
tags: | ||
- Pull requests | ||
- Inputs | ||
- Assignees | ||
--- | ||
|
||
### Input {#input} | ||
|
||
Name: `pull-request-only-any-assignees` | ||
Type: `string[]` | ||
Default value: `[]` | ||
|
||
### Description {#description} | ||
|
||
This input will let you process only the pull requests that are linked to an assignee which is white-listed with this input. | ||
This can be useful when you use the assignees for triage. | ||
|
||
### Example {#example} | ||
|
||
```yml {6-8} | ||
# ... | ||
name: Stale | ||
id: stale | ||
uses: sonia-corporation/stale@latest | ||
with: | ||
pull-request-only-any-assignees: | | ||
C0ZEN | ||
maintainers | ||
``` |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Oops, something went wrong.