forked from openvinotoolkit/openvino_notebooks
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI] Add PR labeler (openvinotoolkit#994)
* add PR labeler * add token * add labeler based on changed files * correct paths * better names * add fix and dependencies labels
- Loading branch information
Showing
3 changed files
with
46 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
labeler-strategy: append # only add new labels, never remove already assigned | ||
|
||
new notebook: | ||
- files: | ||
added: notebooks/**/*.ipynb | ||
enhancement: | ||
- files: | ||
modified: notebooks/**/* | ||
added: notebooks/**/* | ||
documentation: | ||
- files: | ||
modified: "**/*.md" | ||
added: "**/*.md" | ||
dependencies: | ||
- files: | ||
added: "**/*requirements*" | ||
modified: "**/*requirements*" | ||
modified: "**/Pipfile*" |
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,4 @@ | ||
gsoc: | ||
- '/gsoc|summer/i' | ||
fix: | ||
- '/bug|not working|fail|fails|error|issue/i' |
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,24 @@ | ||
name: "PR Labeler" | ||
on: | ||
pull_request: | ||
types: [opened, edited] | ||
|
||
jobs: | ||
labelling: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Add labels (Title/Description) | ||
uses: github/[email protected] | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
configuration-path: ".github/labeler_regexp.yml" | ||
not-before: 2023-03-30T00:00:00Z | ||
enable-versioned-regex: 0 | ||
include-title: 1 | ||
sync-labels: 1 | ||
- name: Add labels (Changed Files) | ||
uses: doka-guide/[email protected] | ||
with: | ||
token: "${{ secrets.GITHUB_TOKEN }}" | ||
config: ".github/labeler_files.yml" |