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