From eb90f1fa53bf7666a2ee0db50fc09d3d0b10c5e7 Mon Sep 17 00:00:00 2001 From: Petter Ekern <43809623+pekern@users.noreply.github.com> Date: Mon, 11 Dec 2023 15:57:30 +0100 Subject: [PATCH] =?UTF-8?q?L=C3=A5ser=20VTP=20til=20V5=20av=20labeler=20(#?= =?UTF-8?q?1309)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/labeler.yml | 14 ++++++++------ .github/workflows/labeler.yml | 2 +- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 8a52e8aa1..6f297cb79 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,13 +1,15 @@ kontrakt: - - model/src/main/java/**/* - - kontrakter/src/main/java/**/* + - changed-files: + - any-glob-to-any-file: ['model/src/main/java/**/*', 'kontrakter/src/main/java/**/*'] mocks: - - 'mocks/**/src/main/java/**/*' + - changed-files: + - any-glob-to-any-file: ['mocks/**/src/main/java/**/*'] web: - - server/src/main/java/**/* + - changed-files: + - any-glob-to-any-file: ['server/src/main/java/**/*'] pom: - - '**/*/pom.xml' - - pom.xml + - changed-files: + - any-glob-to-any-file: ['**/*/pom.xml', 'pom.xml'] diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 16c47d759..b8e6ed8e9 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -8,7 +8,7 @@ jobs: permissions: pull-requests: write steps: - - uses: actions/labeler@main + - uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # ratchet:actions/labeler@v5.0.0 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" sync-labels: true