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..59ac56b9b 100644 --- a/.github/workflows/PullRequestLabeler.yml +++ b/.github/workflows/PullRequestLabeler.yml @@ -6,6 +6,9 @@ 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 }}