From 419c33da56e140c4744c282f183f8089380f7639 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=85rth=E1=80=9Dur?= Date: Tue, 26 Sep 2023 23:58:28 +0400 Subject: [PATCH 1/2] ci: create labeler.yml --- .github/workflows/labeler.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/labeler.yml diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 00000000..46135690 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,22 @@ +# This workflow will triage pull requests and apply a label based on the +# paths that are modified in the pull request. +# +# To use this workflow, you will need to set up a .github/labeler.yml +# file with configuration. For more information, see: +# https://github.com/actions/labeler + +name: Labeler +on: [pull_request_target] + +jobs: + label: + + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + + steps: + - uses: actions/labeler@v4 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" From d3873f88b902f708ad22bc2f3e7a831d8a9fe356 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=85rth=E1=80=9Dur?= Date: Wed, 27 Sep 2023 11:55:39 +0400 Subject: [PATCH 2/2] ci: add labeler --- .github/workflows/labeler.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 46135690..ca4dbf54 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -6,7 +6,9 @@ # https://github.com/actions/labeler name: Labeler -on: [pull_request_target] + +on: + pull_request_target: jobs: label: