ci: add labeler
This commit is contained in:
parent
364e268b11
commit
20d9256aa9
2 changed files with 27 additions and 0 deletions
14
.github/labeler.yml
vendored
Normal file
14
.github/labeler.yml
vendored
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
modifies labeler:
|
||||||
|
- .github/labeler.yml
|
||||||
|
modifies ci:
|
||||||
|
- .github/workflows/*.yml
|
||||||
|
modifies docker:
|
||||||
|
- '**/Dockerfile'
|
||||||
|
- '**/docker-compose.yml'
|
||||||
|
- '**/*.env'
|
||||||
|
modifies api:
|
||||||
|
- api/**/*
|
||||||
|
modifies gui:
|
||||||
|
- gui/**/*
|
||||||
|
modifies nix:
|
||||||
|
- '**/*.nix'
|
13
.github/workflows/label.yml
vendored
Normal file
13
.github/workflows/label.yml
vendored
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
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 }}"
|
Loading…
Add table
Add a link
Reference in a new issue