diff --git a/.github/labeler.yml b/.github/labeler.yml index 0a924752..81af0f50 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,31 +1,47 @@ documentation: - - doc/* - - doc/**/* + - changed-files: + - any-glob-to-any-file: + - doc/* + - doc/**/* extras: - - extras/* - - extras/**/* + - changed-files: + - any-glob-to-any-file: + - extras/* + - extras/**/* sources: - - src/* - - src/**/* + - changed-files: + - any-glob-to-any-file: + - src/* + - src/**/* tests: - - tests/**/* - - tests/* + - changed-files: + - any-glob-to-any-file: + - tests/**/* + - tests/* web: - - web/* - - web/**/* + - changed-files: + - any-glob-to-any-file: + - web/* + - web/**/* appimage: - - appimage/* - - appimage/**/* + - changed-files: + - any-glob-to-any-file: + - appimage/* + - appimage/**/* 3rdparty: - - 3rdparty/* - - 3rdparty/**/* + - changed-files: + - any-glob-to-any-file: + - 3rdparty/* + - 3rdparty/**/* gh-actions: - - .github/workflows/* - - .github/workflows/**/* + - changed-files: + - any-glob-to-any-file: + - .github/workflows/* + - .github/workflows/**/* diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 862eeca8..5ce726bb 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,4 +1,4 @@ -name: "Pull Request Labeler" +name: 'Pull Request Labeler' on: - pull_request_target @@ -9,7 +9,10 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - uses: actions/labeler@v5 + - name: Checkout + uses: actions/checkout@v4 + - name: Run labeler + uses: actions/labeler@v5 with: sync-labels: true - repo-token: "${{ secrets.GITHUB_TOKEN }}" + repo-token: '${{ secrets.GITHUB_TOKEN }}'