Skip to content

Commit 244d5ef

Browse files
ci: add labeler action
1 parent 14616c0 commit 244d5ef

2 files changed

Lines changed: 36 additions & 0 deletions

File tree

.github/labeler.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
core:
2+
- graphgen/**/*
3+
4+
examples:
5+
- examples/**/*
6+
7+
baselines:
8+
- baselines/**/*
9+
10+
documentation:
11+
- "**/*.md"
12+
13+
workflows:
14+
- .github/workflows/*.yml
15+
16+
config:
17+
- .github/labeler.yml
18+
- .pre-commit-config.yaml
19+
- .pylintrc

.github/workflows/labeler.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Labeler
2+
on:
3+
pull_request_target:
4+
types: [opened, synchronize, reopened]
5+
6+
permissions:
7+
contents: read
8+
pull-requests: write
9+
10+
jobs:
11+
label:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/labeler@v4
15+
with:
16+
repo-token: "${{ secrets.GITHUB_TOKEN }}"
17+
configuration-path: .github/labeler.yml

0 commit comments

Comments
 (0)