Actions: Automatically add language-specific labels to pull requests.

This commit is contained in:
Taus Brock-Nannestad
2019-12-12 14:38:02 +01:00
parent 3049bf2c85
commit 558c0a440e
2 changed files with 34 additions and 0 deletions

23
.github/labeler.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
C++:
- cpp/**/*
- change-notes/**/*cpp*
C#:
- csharp/**/*
- change-notes/**/*csharp*
Java:
- java/**/*
- change-notes/**/*java.*
JS:
- javascript/**/*
- change-notes/**/*javascript*
Python:
- python/**/*
- change-notes/**/*python*
documentation:
- **/*.qhelp
- **/*.md

11
.github/workflows/labeler.yml vendored Normal file
View File

@@ -0,0 +1,11 @@
name: "Pull Request Labeler"
on:
- pull_request
jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"