Skip to content

Commit a3168aa

Browse files
[GHA] Add label to PRs (openvinotoolkit#120)
Add llm_bench label to PRs changing files under llm_bench/ folder, update .github/label_config.yml to add new adding label rules/configurations --------- Signed-off-by: Peter Chen <peter.chen@intel.com>
1 parent f441d27 commit a3168aa

File tree

3 files changed

+30
-1
lines changed

3 files changed

+30
-1
lines changed

.github/label_config.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# https://github.com/actions/labeler
2+
3+
# Add label to the PRs changing files under llm_bench/
4+
llm_bench:
5+
- changed-files:
6+
- any-glob-to-any-file:
7+
- 'llm_bench/**'
8+
- '.github/workflows/llm_bench-python.yml'

.github/workflows/labeler.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# https://github.com/actions/labeler
2+
name: label PRs
3+
4+
on:
5+
pull_request_target:
6+
types: [opened]
7+
paths:
8+
- llm_bench/python/**
9+
- .github/workflows/llm_bench-python.yml
10+
11+
jobs:
12+
labeler:
13+
permissions:
14+
contents: read
15+
pull-requests: write
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: actions/labeler@v5
20+
with:
21+
configuration-path: '.github/label_config.yml'

llm_bench/python/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,4 @@ python ./benchmark.py -m models/llama-2-7b-chat/pytorch -d CPU --torch_compile_b
120120
### 1. NOTE
121121
> If you encounter any errors, please check **[NOTES.md](./doc/NOTES.md)** which provides solutions to the known errors.
122122
### 2. Image generation
123-
> If you need to set parameters for image generation, you need to prepare a prompt file, please check **[IMAGE_GEN.md](./doc/IMAGE_GEN.md)**
123+
> To configure more parameters for image generation models, reference to **[IMAGE_GEN.md](./doc/IMAGE_GEN.md)**

0 commit comments

Comments
 (0)