From df5683c5a3a4cc8062c7d8790de78392458a232c Mon Sep 17 00:00:00 2001 From: Danny Date: Tue, 23 Jan 2024 14:09:59 -0500 Subject: [PATCH] fix(actions): update pr labeler syntax (#1252) * fix(actions): update pr labeler syntax * fix(actions): change to array * fix(actions): fix syntax * fix(actions): add checkout * fix(actions): seperate glob to new line * fix(actions): fix typo --- .github/labeler.yml | 3 ++- .github/workflows/on-pr_pr-labeler.yml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index f5e446c81..5bf08d368 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,2 +1,3 @@ one-app-team-review-requested: - - '**/*' + - changed-files: + - any-glob-to-any-file: "*/**" diff --git a/.github/workflows/on-pr_pr-labeler.yml b/.github/workflows/on-pr_pr-labeler.yml index 9cdba5b37..82c55626f 100644 --- a/.github/workflows/on-pr_pr-labeler.yml +++ b/.github/workflows/on-pr_pr-labeler.yml @@ -12,6 +12,7 @@ jobs: configuration-path: .github/pr-labeler.yml # optional, .github/pr-labeler.yml is the default value env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - uses: actions/checkout@v4 - uses: actions/labeler@v5 with: repo-token: "${{ secrets.GITHUB_TOKEN }}"