Skip to content

Commit

Permalink
Labeler added
Browse files Browse the repository at this point in the history
  • Loading branch information
HansenChristoffer committed Mar 23, 2024
1 parent 1623eed commit c09f9df
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# .github/labeler.yml

"cli package":
- cli/**/*

"database package":
- database/**/*

"init package":
- init/**/*

"models package":
- models/**/*

"net package":
- net/**/*

"system package":
- system/**/*

"updater package":
- updater/**/*

"utils package":
- utils/**/*

"version package":
- version/**/*

"main package":
- "*"
- "!.github/**/*"
- "!database/**/*"
- "!cli/**/*"
- "!init/**/*"
- "!models/**/*"
- "!net/**/*"
- "!system/**/*"
- "!updater/**/*"
- "!utils/**/*"
- "!version/**/*"

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: Labeler
on: [pull_request_target]

jobs:
label:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write

steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit c09f9df

Please sign in to comment.