From ec66608c25d6287a2bb6c342fda15c3b73c203da Mon Sep 17 00:00:00 2001 From: Etienne Stalmans Date: Mon, 15 Sep 2025 16:26:05 +0200 Subject: [PATCH] chore: stricter action config for labeler (#38708) * chore: stricter action config for labeler * chore: checkout not needed --- .github/workflows/label_prs.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/label_prs.yml b/.github/workflows/label_prs.yml index 13c4f868a8..36f4ec2dc9 100644 --- a/.github/workflows/label_prs.yml +++ b/.github/workflows/label_prs.yml @@ -1,6 +1,10 @@ name: 'Pull Request Labeler' + +# only docs uses the labeler at the moment on: - - pull_request_target + pull_request_target: + paths: + - 'apps/docs/**/*' jobs: labeler: @@ -9,5 +13,4 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - uses: actions/labeler@v6