From 976ec8710048c5968fed467f94d959655348cf54 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Fri, 30 Apr 2021 04:39:44 +1000 Subject: [PATCH] Add the pull request labeler Action https://github.com/actions/labeler https://github.com/marketplace/actions/labeler Verified Action Update labeler.yml --- .github/labeler.yml | 24 ++++++++++++++++++++++++ .github/workflows/labeler.yml | 14 ++++++++++++++ 2 files changed, 38 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..4ee6a73ea --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,24 @@ +benchmark: + - benchmark/**/* +build: + - Makefile + - Rakefile + - build_config/**/* + - lib/**/* + - tasks/**/* +core: + - include/**/* + - mrblib/**/* + - src/**/* + - test/**/* +doc: + - CONTRIBUTING.md + - README.md + - doc/**/* + - examples/**/* +github: + - .github/**/* +mrbgems: + - mrbgems/**/* +oss-fuzz: + - oss-fuzz/**/* diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 000000000..3f2023245 --- /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 }}" + sync-labels: true