Skip to content

Commit

Permalink
ci: fix unworking errors in labeler.yml (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
lumirlumir authored Aug 27, 2024
1 parent 0158006 commit d4ea084
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 17 deletions.
17 changes: 1 addition & 16 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,63 +5,48 @@ enable:
prs: true

comments:
prs: |
Labels have been automatically applied based on the [conventional commit types](https://www.conventionalcommits.org/en/v1.0.0/) and [personal commit types](https://blog.lumir.page/docs/conventions/git/convention-of-git-commit-message) in this pull request.🏷️
prs: 'Labels have been automatically applied based on the [conventional commit types](https://www.conventionalcommits.org/en/v1.0.0/) and [personal commit rules](https://blog.lumir.page/docs/conventions/git/convention-of-git-commit-message).🏷️'

labels:
'build':
include:
- '\bbuild\b'
exclude: []
'chore':
include:
- '\bchore\b'
exclude: []
'ci':
include:
- '\bci\b'
exclude: []
'design':
include:
- '\bdesign\b'
exclude: []
'docs':
include:
- '\bdocs\b'
exclude: []
'feat':
include:
- '\bfeat\b'
exclude: []
'fix':
include:
- '\bfix\b'
exclude: []
'perf':
include:
- '\bperf\b'
exclude: []
'refactor':
include:
- '\brefactor\b'
exclude: []
'remove':
include:
- '\bremove\b'
exclude: []
'rename':
include:
- '\brename\b'
exclude: []
'style':
include:
- '\bstyle\b'
exclude: []
'test':
include:
- '\btest\b'
exclude: []
'release':
include:
- '\brelease\b'
exclude: []
6 changes: 5 additions & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@ name: labeler

on:
pull_request_target:
types: [opened, edited]
types: [opened]

jobs:
labeler:
runs-on: ubuntu-latest

permissions:
contents: read
pull-requests: write

steps:
- name: Labeler
uses: jimschubert/labeler-action@v2
Expand Down

0 comments on commit d4ea084

Please sign in to comment.