-
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(outputs): add new outputs
removed-pull-requests-labels-count
a…
…nd `pull-requests-labels-count` Closes #858.
- Loading branch information
Showing
17 changed files
with
103 additions
and
16 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
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
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
31 changes: 31 additions & 0 deletions
31
...ation/docs/08-pull-requests/02-outputs/11-pull-requests-labels-count-output.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,31 @@ | ||
--- | ||
id: pull-requests-labels-count-output | ||
title: Pull requests labels count output | ||
description: | | ||
All the information you need to know about the mutated pull requests labels count output. | ||
Including a detailed description and an example. | ||
tags: | ||
- Pull requests | ||
- Outputs | ||
--- | ||
|
||
### Output {#output} | ||
|
||
Name: `pull-requests-labels-count` | ||
Type: `number` | ||
|
||
### Description {#description} | ||
|
||
This output will expose the number of mutated pull requests labels (added or removed). | ||
|
||
### Example {#example} | ||
|
||
```yml {6-7} | ||
# ... | ||
steps: | ||
- name: Stale | ||
id: stale | ||
uses: sonia-corporation/stale@latest | ||
- name: Count | ||
run: echo "${{ steps.Stale.outputs.pull-requests-labels-count }}" | ||
``` |
File renamed without changes.
31 changes: 31 additions & 0 deletions
31
...cs/08-pull-requests/02-outputs/13-removed-pull-requests-labels-count-output.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,31 @@ | ||
--- | ||
id: removed-pull-requests-labels-count-output | ||
title: Removed pull requests labels count output | ||
description: | | ||
All the information you need to know about the removed pull requests labels count output. | ||
Including a detailed description and an example. | ||
tags: | ||
- Pull requests | ||
- Outputs | ||
--- | ||
|
||
### Output {#output} | ||
|
||
Name: `removed-pull-requests-labels-count` | ||
Type: `number` | ||
|
||
### Description {#description} | ||
|
||
This output will expose the number of removed pull requests labels. | ||
|
||
### Example {#example} | ||
|
||
```yml {6-7} | ||
# ... | ||
steps: | ||
- name: Stale | ||
id: stale | ||
uses: sonia-corporation/stale@latest | ||
- name: Count | ||
run: echo "${{ steps.Stale.outputs.removed-pull-requests-labels-count }}" | ||
``` |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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