From 19c9bebc94cb394c049bb3c6687d265cd9864d66 Mon Sep 17 00:00:00 2001 From: Yogendra Shelke Date: Wed, 25 Mar 2026 15:03:42 +0530 Subject: [PATCH 1/5] fix: update labeler configuration for changed-files syntax and trigger event --- .github/configs/labeler.yml | 22 ++++++++++++++-------- .github/workflows/PullRequestLabeler.yml | 2 +- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/.github/configs/labeler.yml b/.github/configs/labeler.yml index 72f7f97ee..0fd3e875a 100644 --- a/.github/configs/labeler.yml +++ b/.github/configs/labeler.yml @@ -1,12 +1,18 @@ documentation: - - all: ["*.md"] + - changed-files: + - any-glob-to-all-files: ["*.md"] Core: - - .github/**/* - - .husky/**/* - - data/**/* - - scripts/**/* + - changed-files: + - any-glob-to-any-file: + - .github/**/* + - .husky/**/* + - data/**/* + - scripts/**/* Widget: - - packages/**/*-native*/**/* - - packages/**/*_native*/**/* + - changed-files: + - any-glob-to-any-file: + - packages/**/*-native*/**/* + - packages/**/*_native*/**/* test: - - all: ["*.spec.*"] + - changed-files: + - any-glob-to-all-files: ["*.spec.*"] diff --git a/.github/workflows/PullRequestLabeler.yml b/.github/workflows/PullRequestLabeler.yml index 170b785fb..a41a7cf97 100644 --- a/.github/workflows/PullRequestLabeler.yml +++ b/.github/workflows/PullRequestLabeler.yml @@ -1,6 +1,6 @@ name: "Pull Request Labeler" on: - - pull_request_target + - pull_request jobs: triage: From 9c56dae85887a89893ec0886bd057a680a681046 Mon Sep 17 00:00:00 2001 From: Yogendra Shelke Date: Wed, 25 Mar 2026 15:04:35 +0530 Subject: [PATCH 2/5] fix: change pull request event to pull_request_target for labeler --- .github/workflows/PullRequestLabeler.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/PullRequestLabeler.yml b/.github/workflows/PullRequestLabeler.yml index a41a7cf97..170b785fb 100644 --- a/.github/workflows/PullRequestLabeler.yml +++ b/.github/workflows/PullRequestLabeler.yml @@ -1,6 +1,6 @@ name: "Pull Request Labeler" on: - - pull_request + - pull_request_target jobs: triage: From 5bf7ae0cd3089b0a5dfd85844b42a33a2e2fccb6 Mon Sep 17 00:00:00 2001 From: Yogendra Shelke Date: Wed, 25 Mar 2026 15:05:23 +0530 Subject: [PATCH 3/5] fix: change pull request event back to pull_request for labeler --- .github/workflows/PullRequestLabeler.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/PullRequestLabeler.yml b/.github/workflows/PullRequestLabeler.yml index 170b785fb..a41a7cf97 100644 --- a/.github/workflows/PullRequestLabeler.yml +++ b/.github/workflows/PullRequestLabeler.yml @@ -1,6 +1,6 @@ name: "Pull Request Labeler" on: - - pull_request_target + - pull_request jobs: triage: From f9631e0e858cb4ab2cc0163c2cde113b7a508693 Mon Sep 17 00:00:00 2001 From: Yogendra Shelke Date: Wed, 25 Mar 2026 15:09:21 +0530 Subject: [PATCH 4/5] fix: update checkout action version in Pull Request Labeler workflow --- .github/workflows/PullRequestLabeler.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/PullRequestLabeler.yml b/.github/workflows/PullRequestLabeler.yml index a41a7cf97..f8f5f1ef6 100644 --- a/.github/workflows/PullRequestLabeler.yml +++ b/.github/workflows/PullRequestLabeler.yml @@ -6,6 +6,7 @@ jobs: triage: runs-on: ubuntu-latest steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1 with: repo-token: ${{ secrets.GH_PAT }} From e2f07e670b6603a090248adf12977f626d0e9122 Mon Sep 17 00:00:00 2001 From: Yogendra Shelke Date: Wed, 25 Mar 2026 15:15:47 +0530 Subject: [PATCH 5/5] fix: change pull request event to pull_request_target and update checkout step --- .github/workflows/PullRequestLabeler.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/PullRequestLabeler.yml b/.github/workflows/PullRequestLabeler.yml index f8f5f1ef6..59ac56b9b 100644 --- a/.github/workflows/PullRequestLabeler.yml +++ b/.github/workflows/PullRequestLabeler.yml @@ -1,12 +1,14 @@ name: "Pull Request Labeler" on: - - pull_request + - pull_request_target jobs: triage: runs-on: ubuntu-latest steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + ref: ${{ github.event.pull_request.head.sha }} - uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1 with: repo-token: ${{ secrets.GH_PAT }}