From 821f46615a94696d53fbae7604cc13106d6b932b Mon Sep 17 00:00:00 2001 From: Denny Septian Panggabean <97607754+ddevsr@users.noreply.github.com> Date: Thu, 3 Jul 2025 11:53:23 +0700 Subject: [PATCH 1/2] feat: labeler --- .github/labeler.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/labeler.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 000000000000..3e93484521a0 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,11 @@ +# Github Action +"github_actions": + - changed-files: + - any-glob-to-any-file: + - .github/* + +# Documentation +"documentation": + - changed-files: + - any-glob-to-any-file: + - user_guide_src/* From 4eacd833aa1de6bc4f737009e835a5fb572f1f11 Mon Sep 17 00:00:00 2001 From: Denny Septian Panggabean <97607754+ddevsr@users.noreply.github.com> Date: Thu, 3 Jul 2025 11:58:11 +0700 Subject: [PATCH 2/2] Create labeler.yml --- .github/workflows/labeler.yml | 17 +++++++++++++++++ 1 file changed, 17 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 000000000000..b657eefab0fb --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,17 @@ +name: "Pull Request Labeler" +on: + - pull_request_target + +permissions: + contents: read + +jobs: + triage: + if: github.repository == 'codeigniter4/CodeIgniter4' + permissions: + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v5 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}"