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/4] 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/4] 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 }}" From ab22148a8af21cc2a071f2791255c4d4ca2eb3e7 Mon Sep 17 00:00:00 2001 From: Denny Septian Panggabean <97607754+ddevsr@users.noreply.github.com> Date: Wed, 17 Sep 2025 14:51:15 +0700 Subject: [PATCH 3/4] chore: added labeling in branch 4.7 --- .github/labeler.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 3e93484521a0..2d3982b4a833 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -4,8 +4,8 @@ - any-glob-to-any-file: - .github/* -# Documentation -"documentation": - - changed-files: - - any-glob-to-any-file: - - user_guide_src/* +# Match PRs into or from branch 4.7 +"4.7": + - base-branch: '4.7' + - head-branch: '4.7' + From 0e4158f3d6bcad74eb1c64d6c7cd205816d6491e Mon Sep 17 00:00:00 2001 From: Denny Septian Panggabean <97607754+ddevsr@users.noreply.github.com> Date: Wed, 17 Sep 2025 16:10:04 +0700 Subject: [PATCH 4/4] chore: using actions/labeler@v6 --- .github/workflows/labeler.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index b657eefab0fb..3713dc2c5b72 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -12,6 +12,6 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - uses: actions/labeler@v5 + - uses: actions/labeler@v6 with: repo-token: "${{ secrets.GITHUB_TOKEN }}"