Skip to content

Commit

Permalink
GitHub: add auto-labelling to pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
nilason committed Apr 20, 2020
1 parent 745ee7e commit af65037
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
lib:
- lib/**/*
- include/**/*

core:
- db/**/*
- display/**/*
- general/**/*
- imagery/**/*
- misc/**/*
- ps/**/*
- raster/**/*
- raster3d/**/*
- scripts/**/*
- temporal/**/*
- vector/**/*

GUI:
- gui/**/*

Windows:
- mswindows/**/*

MacOS:
- macosx/**/*

Linux:
- rpm/**/*
- singularity/**/*

docker:
- docker/**/*

docs:
- doc/**/*

locale:
- locale/**/*
19 changes: 19 additions & 0 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This workflow will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
#
# To use this workflow, you will need to set up a .github/labeler.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler/blob/master/README.md

name: Labeler
on: [pull_request]

jobs:
label:

runs-on: ubuntu-latest

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

0 comments on commit af65037

Please sign in to comment.