From aa5244c4e13bedf4d89ce506309f8d8c168562eb Mon Sep 17 00:00:00 2001 From: Guillaume Tardif Date: Mon, 7 Sep 2020 10:12:42 +0200 Subject: [PATCH] Auto-label PRs Signed-off-by: Guillaume Tardif --- .github/labeler.yml | 24 ++++++++++++++++++++++++ .github/workflows/labeler.yml | 10 ++++++++++ 2 files changed, 34 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/labeler.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 00000000..c5d5ef7f --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,24 @@ +aci: + - aci/**/* + +ecs: + - ecs/**/* + +cli: + - cli/**/* + +api: + - containers/**/* + - compose/**/* + - secrets/**/* + - server/**/* + - protos/**/* + +ci: + - .github/**/* + +documentation: + - docs/**/* + +metrics: + - metrics/**/* diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 00000000..c01f1380 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -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 }}"