Skip to content

Commit fbd9a58

Browse files
authored
check using gha labeler@v5 (#3205)
* check-using-labeler-v5 * fix conf paht
1 parent 72a3c30 commit fbd9a58

File tree

2 files changed

+32
-14
lines changed

2 files changed

+32
-14
lines changed

.github/pr-labeler-config.yml

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,55 @@
11
# Add 'docker' to any changes within 'docker' folder or any subfolders
22
docker:
3-
- docker/**/*
3+
- changed-files:
4+
- any-glob-to-any-file: docker/**
45

56
# Add 'docs' to any changes within 'docs' folder
67
docs:
7-
- docs/**/*
8+
- changed-files:
9+
- any-glob-to-any-file: docs/**
810

911
# Add 'ci' to any changes in '.github' folder
1012
ci:
11-
- .github/**/*
13+
- changed-files:
14+
- any-glob-to-any-file: .github/**
1215

1316
# Add 'examples' to any changes within 'examples' folder
1417
examples:
15-
- examples/**/*
18+
- changed-files:
19+
- any-glob-to-any-file: examples/**
1620

1721
# Add 'base' to any changes within 'base' folder
1822
"module: base":
19-
- ignite/base/**/*
23+
- changed-files:
24+
- any-glob-to-any-file: ignite/base/**/*
2025

2126
# Add 'contrib' to any changes within 'contrib' folder
2227
"module: contrib":
23-
- ignite/contrib/**/*
28+
- changed-files:
29+
- any-glob-to-any-file: ignite/contrib/**/*
2430

2531
# Add 'distributed' to any changes within 'distributed' folder
2632
"module: distributed":
27-
- ignite/distributed/**/*
33+
- changed-files:
34+
- any-glob-to-any-file: ignite/distributed/**/*
2835

2936
# Add 'engine' to any changes within 'engine' folder
3037
"module: engine":
31-
- ignite/engine/**/*
38+
- changed-files:
39+
- any-glob-to-any-file: ignite/engine/**/*
3240

3341
# Add 'handlers' to any changes within 'handlers' folder
3442
"module: handlers":
35-
- ignite/handlers/**/*
43+
- changed-files:
44+
- any-glob-to-any-file: ignite/handlers/**/*
3645

3746
# Add 'metrics' to any changes within 'metrics' folder
3847
"module: metrics":
39-
- ignite/metrics/**/*
48+
- changed-files:
49+
- any-glob-to-any-file: ignite/metrics/**/*
4050

51+
-
4152
# Add 'utils' to any changes within 'utils' module
4253
"module: utils":
43-
- ignite/utils.py
54+
- changed-files:
55+
- any-glob-to-any-file: ignite/utils.py

.github/workflows/triage.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
11
name: Triage
22

33
on:
4-
pull_request_target:
5-
types: [opened]
4+
# For testing purposes only
5+
# https://github.com/actions/labeler?tab=readme-ov-file#updating-major-version-of-the-labeler
6+
pull_request
7+
# pull_request_target:
8+
# types: [opened]
69
# issues:
710
# types: [opened]
811

912
jobs:
1013
triage:
14+
permissions:
15+
contents: read
16+
pull-requests: write
1117
runs-on: ubuntu-latest
1218
steps:
19+
- uses: actions/checkout@v4
1320
- name: Pull Request Labeler
14-
# if: github.event_name == 'pull_request_target'
1521
uses: actions/labeler@v5
1622
with:
1723
configuration-path: .github/pr-labeler-config.yml

0 commit comments

Comments
 (0)