From 9e178d620736d6cb4d9992df6024497fba58e0bc Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Thu, 4 Aug 2022 14:48:18 +0200 Subject: [PATCH] :construction_worker: add labeler action --- .github/labeler.yml | 8 ++++++++ .github/workflows/labeler.yml | 14 ++++++++++++++ 2 files changed, 22 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 000000000..f9180fa5c --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,8 @@ +documentation: + - 'README.md' + - 'docs/*' + - 'docs/**/*' + +ci: + - '.github/workflows/*' + - '.github/external_ci/*' diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 000000000..356bbb911 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,14 @@ +name: "Pull Request Labeler" +on: + - pull_request_target + +jobs: + triage: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v4 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}"