Skip to content

Commit

Permalink
Add labeler action (#3671)
Browse files Browse the repository at this point in the history
👷 add labeler action
  • Loading branch information
nlohmann authored Aug 4, 2022
1 parent 98d70d4 commit 500bdc5
Show file tree
Hide file tree
Showing 2 changed files with 52 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 @@
version: 1

labels:
- label: "documentation"
files:
- "README.md"

- label: "documentation"
files:
- "docs/.*"

- label: "tests"
files:
- "tests/.*"

- label: "CMake"
files:
- ".*CMakeLists.txt"

- label: "CMake"
files:
- "cmake/.*"

- label: "CI"
files:
- "github/workflows/.*"

- label: "CI"
files:
- "github/external_ci/.*"

- label: "S"
size-below: 10
- label: "M"
size-above: 9
size-below: 100
- label: "L"
size-above: 100
14 changes: 14 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "Pull Request Labeler"

on:
- pull_request

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: srvaroa/labeler@master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 500bdc5

Please sign in to comment.