From cf7b1f02027904116b8e8556d535ca06b26f2284 Mon Sep 17 00:00:00 2001 From: Carles Cufi Date: Mon, 26 Oct 2020 15:22:37 +0100 Subject: [PATCH] actions: Add a labeler action Add the same labeler action that is already present in sdk-nrf. Signed-off-by: Carles Cufi --- .github/labeler.yml | 5 +++++ .github/workflows/labeler.yml | 11 +++++++++++ 2 files changed, 16 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 0000000000..661b8033b1 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,5 @@ +# https://github.com/actions/labeler/blob/main/README.md + +"doc-required": + - "doc/**/*" + - "**/*.rst" diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000000..a353066600 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,11 @@ +name: 'Pull Request Labeler' +on: + - pull_request_target + +jobs: + triage: + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v2.1.1 + with: + repo-token: '${{ secrets.GITHUB_TOKEN }}'