Add automatic pr labeling through github actions. (#1089)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>pull/1091/head
parent
9ad20d39a5
commit
17a3424ec3
|
@ -0,0 +1,23 @@
|
|||
# Add 'priority: middle :soon::tm:' label to any file change
|
||||
"priority:: middle ::soon::::tm::":
|
||||
- '**'
|
||||
- '.*'
|
||||
- '.*/**'
|
||||
|
||||
"section:: add-ons":
|
||||
- addons/*
|
||||
|
||||
"section:: administration":
|
||||
- administration/*
|
||||
|
||||
"section:: configuration":
|
||||
- configuration/*
|
||||
|
||||
"section:: development":
|
||||
- developers/*
|
||||
|
||||
"section:: installation":
|
||||
- installation/*
|
||||
|
||||
"section:: tutorials":
|
||||
- tutorials/*
|
|
@ -0,0 +1,14 @@
|
|||
name: Pull request labeler
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0/15 * * * *'
|
||||
|
||||
jobs:
|
||||
labeler:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: paulfantom/periodic-labeler@v0.0.1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_REPOSITORY: ${{ github.repository }}
|
||||
LABEL_MAPPINGS_FILE: .github/labeler.yml
|
Loading…
Reference in New Issue