Skip to content

Commit 35d7fb4

Browse files
committed
ci: pull request labeler action
1 parent a85fe39 commit 35d7fb4

File tree

4 files changed

+67
-0
lines changed

4 files changed

+67
-0
lines changed

.github/labeler.yml

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
JavaScript:
2+
- "**/*.js"
3+
4+
TypeScript:
5+
- "**/*.ts"
6+
7+
Python:
8+
- "**/*.py"
9+
10+
Java:
11+
- "**/*.java"
12+
13+
C++:
14+
- "**/*.cpp"
15+
16+
C:
17+
- "**/*.c"
18+
19+
C#:
20+
- "**/*.cs"
21+
22+
PHP:
23+
- "**/*.php"
24+
25+
Swift:
26+
- "**/*.swift"
27+
28+
Kotlin:
29+
- "**/*.kt"
30+
31+
Dart:
32+
- "**/*.dart"
33+
34+
Go:
35+
- "**/*.go"
36+
37+
Ruby:
38+
- "**/*.rb"
39+
40+
Scala:
41+
- "**/*.scala"
42+
43+
Rust:
44+
- "**/*.rs"
45+
46+
Racket:
47+
- "**/*.rkt"
48+
49+
Erlang:
50+
- "**/*.erl"
51+
52+
Elixir:
53+
- "**/*.ex"

.github/workflows/pr-labeler.yaml

+12
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

3sum/test.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
console.log("test change");

alien-dictionary/test.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
print("test")

0 commit comments

Comments
 (0)