Skip to content

Commit

Permalink
chore: add labeler.yml (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
Snoopy1866 authored Nov 13, 2024
1 parent 8aa2ca3 commit 44ca41d
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
docs:
- "docs/**"
- "README.md"
- "README-*.md"

tests:
- "tests/**"

ci:
- ".github/**"
- ".pre-commit-config.yaml"
- ".readthedocs.yaml"
- "codedev.yml"
17 changes: 17 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "Pull Request Labeler"

on:
- pull_request_target

jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: .github/labeler.yml
sync-labels: true

0 comments on commit 44ca41d

Please sign in to comment.