Skip to content

Commit 3056555

Browse files
CI: Add GitHub label for extension related changes (#6814)
Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent 712cc33 commit 3056555

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

.github/labeler.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,9 @@ testing:
2020
- "tests/system/conftest.py"
2121
- "tests/system/solvers/conftest.py"
2222
- "tests/system/general/conftest.py"
23+
24+
extensions:
25+
- changed-fles:
26+
- any-glob-to-any-file:
27+
- "src/ansys/aedt/core/extensions/**/*"
28+
- "doc/source/Resources/pyaedt_installer_from_aedt.py"

.github/labels.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,7 @@
3737
- name: security
3838
description: Anything related to security advisories
3939
color: FF0000
40+
41+
- name: extensions
42+
description: Related to extensions
43+
color: 6905d2

.github/workflows/label.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,13 @@ jobs:
7979
with:
8080
labels: testing
8181

82+
- uses: actions-ecosystem/action-add-labels@18f1af5e3544586314bbe15c0273249c770b2daf # v1.1.3
83+
if: |
84+
contains(github.event.pull_request.title, 'extension') ||
85+
contains(github.event.pull_request.title, 'extensions')
86+
with:
87+
labels: extensions
88+
8289
commenter:
8390
name: Suggest labels if none assigned
8491
runs-on: ubuntu-latest
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add GitHub label for extension related changes

0 commit comments

Comments
 (0)