diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 000000000..1e6ad0b1c --- /dev/null +++ b/.github/labeler.yml @@ -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/* diff --git a/.github/workflow/labeler.yml b/.github/workflow/labeler.yml new file mode 100644 index 000000000..b8b6f558a --- /dev/null +++ b/.github/workflow/labeler.yml @@ -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 \ No newline at end of file