Skip to content

Commit

Permalink
ci: add labeler action
Browse files Browse the repository at this point in the history
* ci: add labeler action

* bug -> fix
  • Loading branch information
TennyZhuang authored Dec 29, 2021
1 parent a225fc8 commit f9024ca
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 1
labels:
- label: "feature"
title: "^feat*"
- label: "fix"
title: "^fix*"
- label: "test"
title: "^test*"
- label: "refactor"
title: "^refactor*"
- label: "style"
title: "^style*"
- label: "chore"
title: "^chore*"
12 changes: 12 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Label PRs

on:
- pull_request

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: srvaroa/labeler@master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit f9024ca

Please sign in to comment.