From 92bffd8ba6ef20e3334237452da806ebd6309b4b Mon Sep 17 00:00:00 2001 From: Pierre Slamich Date: Mon, 12 Aug 2024 19:31:33 +0200 Subject: [PATCH 1/2] Update label.yml --- .github/workflows/label.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index d438b797..c201024a 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -5,13 +5,18 @@ # file with configuration. For more information, see: # https://github.com/actions/labeler -name: Labeler -on: [pull_request] +name: Automatically add relevant labels to Pull Requests +on: +- pull_request_target + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: label: runs-on: ubuntu-latest - if: github.event.pull_request.head.repo.full_name == github.repository + #if: github.event.pull_request.head.repo.full_name == github.repository #if: ${{ github.repository_owner == 'openfoodfacts' }} permissions: contents: read From 7a3242504b2680a9b202f49f8e6e9600dcf6aef4 Mon Sep 17 00:00:00 2001 From: Pierre Slamich Date: Mon, 12 Aug 2024 19:33:14 +0200 Subject: [PATCH 2/2] Update labeler.yml --- .github/labeler.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/labeler.yml b/.github/labeler.yml index 172c748e..4dea0db2 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -25,6 +25,10 @@ off1: - changed-files: - any-glob-to-any-file: '**/*off1*' +ovh1: +- changed-files: + - any-glob-to-any-file: '**/*ovh1*' + ovh2: - changed-files: - any-glob-to-any-file: '**/*ovh2*'