Skip to content

Commit

Permalink
GH Action - Add auto labeler according to modified files
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry authored and nyalldawson committed Mar 27, 2022
1 parent 927b672 commit ef14f6a
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/labeler.yml
@@ -0,0 +1,23 @@
"3D":
- any: ['src/3d/**/*']

"Annotations":
- any: ['src/core/annotations/**/*']

"DB Manager":
- any: ['python/plugins/db_manager/**/*']

"Locator":
- any: ['src/core/locator/**/*']

"Metasearch":
- any: ['python/plugins/MetaSearch/**/*']

"PostGIS data provider":
- any: ['src/providers/postgres/**/*']

"Server":
- any: ['src/server/**/*']

"Vector tiles":
- any: ['src/core/vectortile/**/*']
17 changes: 17 additions & 0 deletions .github/workflows/pr-auto-label.yml
@@ -0,0 +1,17 @@
name: "🌈 Triage"

on:
pull_request_target:
types: [ opened, synchronize, reopened ]

jobs:
triage:
name: "Set on PR"
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit ef14f6a

Please sign in to comment.