Auto-label PRs

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
This commit is contained in:
Guillaume Tardif 2020-09-07 10:12:42 +02:00
parent 55d54cb21c
commit aa5244c4e1
2 changed files with 34 additions and 0 deletions

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

@ -0,0 +1,24 @@
aci:
- aci/**/*
ecs:
- ecs/**/*
cli:
- cli/**/*
api:
- containers/**/*
- compose/**/*
- secrets/**/*
- server/**/*
- protos/**/*
ci:
- .github/**/*
documentation:
- docs/**/*
metrics:
- metrics/**/*

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

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