Skip to content

Commit 5bcd29f

Browse files
committed
ci: pull request labeler action
1 parent a85fe39 commit 5bcd29f

File tree

4 files changed

+67
-0
lines changed

4 files changed

+67
-0
lines changed

.github/labeler.yml

Lines changed: 53 additions & 0 deletions
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

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

3sum/test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
console.log("test change");

alien-dictionary/test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
print("test")

0 commit comments

Comments
 (0)