Merge pull request #2521 from tausbn/automatically-label-pull-requests

Actions: Automatically add language-specific labels to pull requests.
This commit is contained in:
Rasmus Wriedt Larsen
2019-12-12 15:35:51 +00:00
committed by GitHub
2 changed files with 35 additions and 0 deletions

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

@@ -0,0 +1,24 @@
"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
- docs/**/*

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 }}"