Skip to content

Commit 2b0219b

Browse files
committed
ci: pull request labeler action
1 parent a85fe39 commit 2b0219b

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed

.github/labeler.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
cpp:
2+
- "*.cpp"
3+
java:
4+
- "*.java"
5+
python:
6+
- "*.py"
7+
python3:
8+
- "*.py"
9+
c:
10+
- "*.c"
11+
csharp:
12+
- "*.cs"
13+
javascript:
14+
- "*.js"
15+
typescript:
16+
- "*.ts"
17+
php:
18+
- "*.php"
19+
swift:
20+
- "*.swift"
21+
kotlin:
22+
- "*.kt"
23+
dart:
24+
- "*.dart"
25+
go:
26+
- "*.go"
27+
ruby:
28+
- "*.rb"
29+
scala:
30+
- "*.scala"
31+
rust:
32+
- "*.rs"
33+
racket:
34+
- "*.rkt"
35+
erlang:
36+
- "*.erl"
37+
elixir:
38+
- "*.ex"

.github/workflows/pr-labeler.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: "Pull Request Labeler"
2+
on:
3+
- pull_request_target
4+
5+
jobs:
6+
labeler:
7+
permissions:
8+
contents: read
9+
pull-requests: write
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/labeler@v5

0 commit comments

Comments
 (0)