Skip to content

Commit

Permalink
ci: pull request labeler action
Browse files Browse the repository at this point in the history
  • Loading branch information
sounmind committed Aug 24, 2024
1 parent a85fe39 commit 632d25b
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
JavaScript:
- "**/*.js"

TypeScript:
- "**/*.ts"

Python:
- "**/*.py"

Java:
- "**/*.java"

C++:
- "**/*.cpp"

C:
- "**/*.c"

C#:
- "**/*.cs"

PHP:
- "**/*.php"

Swift:
- "**/*.swift"

Kotlin:
- "**/*.kt"

Dart:
- "**/*.dart"

Go:
- "**/*.go"

Ruby:
- "**/*.rb"

Scala:
- "**/*.scala"

Rust:
- "**/*.rs"

Racket:
- "**/*.rkt"

Erlang:
- "**/*.erl"

Elixir:
- "**/*.ex"
17 changes: 17 additions & 0 deletions .github/workflows/pr-labeler.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "Pull Request Labeler"

on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
label:
runs-on: ubuntu-latest
steps:
- name: "Check out code"
uses: actions/checkout@v3

- name: "Run Labeler"
uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
1 change: 1 addition & 0 deletions 3sum/test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log("test change");
1 change: 1 addition & 0 deletions alien-dictionary/test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
print("test")

0 comments on commit 632d25b

Please sign in to comment.