-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds options to filter labels and bumps node version to 16 (#13)
* Adds options to filter labels and bumps node version to 16 Signed-off-by: Darshit Chanpura <[email protected]> * Changes variable name, updates version references and applies formatting Signed-off-by: Darshit Chanpura <[email protected]> --------- Signed-off-by: Darshit Chanpura <[email protected]> Co-authored-by: Michal Vanko <[email protected]>
- Loading branch information
1 parent
f36c2bd
commit 08977ef
Showing
8 changed files
with
64 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
name: Copy labels from linked issues | ||
steps: | ||
- name: copy-labels | ||
uses: michalvankodev/copy-issue-labels@v1.2.1 | ||
uses: michalvankodev/copy-issue-labels@v1.3.0 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
``` | ||
|
@@ -29,7 +29,7 @@ There is also support for different workflows to trigger sync of the labels with | |
```yml | ||
steps: | ||
- name: copy-labels | ||
uses: michalvankodev/copy-issue-labels@v0.2.12 | ||
uses: michalvankodev/copy-issue-labels@v1.3.0 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
issue-number: ${{ github.event.inputs.issue }} | ||
|
@@ -59,12 +59,31 @@ You can provide from-title = true to parse the issue numbers from title | |
```yml | ||
steps: | ||
- name: copy-labels | ||
uses: michalvankodev/copy-issue-labels@v1.2.1 | ||
uses: michalvankodev/copy-issue-labels@v1.3.0 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
from-title: true | ||
``` | ||
|
||
## Include-Exclude labels | ||
|
||
You can provide an inclusion/exclusion list to filter linked issue labels before copying them to the PR | ||
|
||
```yml | ||
steps: | ||
- name: copy-labels | ||
uses: michalvankodev/[email protected] | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
labels-to-include: | | ||
documentation | ||
enhancement | ||
labels-to-exclude: | | ||
untriaged | ||
triaged | ||
``` | ||
|
||
|
||
## Development | ||
|
||
The deployed code is stored in the repository as that's how github action runner is able to run the action with _runners_. | ||
|
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