Skip to content

Commit

Permalink
chore: add labeler workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hexqi committed Aug 26, 2024
1 parent 1e856b7 commit 0d56974
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
bug:
- title: 'fix*'

enhancement:
- title: 'feat*'

ospp-2024:
- base-branch: ['ospp-2024/*']

document:
- '**/*.md'
15 changes: 15 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Pull Request Labeler

on:
pull_request:
types: [opened, edited]

jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/labeler@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
sync-labels: true

0 comments on commit 0d56974

Please sign in to comment.