-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add labeler workflow so that a `GitHub` action, triggered when a PR is opened, automatically labels the PR based on the given rules. Exclude the `labeler.yaml` from the linter.
- Loading branch information
1 parent
ca095ee
commit 3f8d0a2
Showing
3 changed files
with
110 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,96 @@ | ||
# Commit prefix regexes | ||
type:Compiler: | ||
title: "^COMP:.*" | ||
|
||
type:Bug: | ||
title: "^BUG:.*" | ||
|
||
area:Documentation: | ||
title: "^DOC:.*" | ||
|
||
type:Enhancement: | ||
title: "^ENH:.*" | ||
|
||
type:Performance: | ||
title: "^PERF:.*" | ||
|
||
type:Style: | ||
title: "^STYLE:.*" | ||
|
||
type:Coverage: | ||
title: "coverage" | ||
|
||
type:Design: | ||
title: "design" | ||
|
||
# Filename regexes | ||
area:Bridge: | ||
files: | ||
- "src/Bridge/*" | ||
|
||
area:Core: | ||
files: | ||
- "src/Core/*" | ||
|
||
area:Documentation: | ||
files: | ||
- "Documentation/*" | ||
- "Documentation.rst" | ||
|
||
area:Filtering: | ||
files: | ||
- "src/Filtering/*" | ||
|
||
area:IO: | ||
files: | ||
- "src/IO/*" | ||
|
||
area:Numerics: | ||
files: | ||
- "src/Numerics/*" | ||
|
||
area:Nonunit: | ||
files: | ||
- "src/Nonunit/*" | ||
|
||
area:Registration: | ||
files: | ||
- "src/Registration/*" | ||
|
||
area:Remotes: | ||
files: | ||
- "src/Remote/*" | ||
|
||
area:Segmentation: | ||
files: | ||
- "src/Segmentation/*" | ||
|
||
area:Video: | ||
files: | ||
- "src/Video/*" | ||
|
||
language:C++: | ||
files: | ||
- "Code.cxx" | ||
|
||
language:Python: | ||
files: | ||
- "Code.py" | ||
|
||
type:Python notebook: | ||
files: | ||
- ".*.ipynb" | ||
|
||
type:Data: | ||
files: | ||
- ".*.sha512" | ||
|
||
type:Infrastructure: | ||
files: | ||
- ".binder/*" | ||
- ".github/*" | ||
- "CMake/*" | ||
- "Formatting/*" | ||
- "Superbuild/*" | ||
- "Utilities/*" | ||
- "index.rst" |
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,13 @@ | ||
name: Label PRs | ||
|
||
on: | ||
- pull_request_target | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: srvaroa/labeler@v0.8 | ||
env: | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |
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
3f8d0a2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Published on https://examples.itk.org as production
🚀 Deployed on https://6155cfc41f503d3036097472--itkexamples.netlify.app