diff --git a/.github/labeler.yml b/.github/labeler.yml index 9904e87d..97d707a4 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,19 +1,30 @@ +root: +- changed-files: + - any-glob-to-any-file: '*' + Configuration File: - - configurationFiles/** +- changed-files: + - any-glob-to-any-file: configurationFiles/** Executable: - - src/** +- changed-files: + - any-glob-to-any-file: src/** Kusto Query Language: - - kusto/** +- changed-files: + - any-glob-to-any-file: kusto/** WorkFlow: - - .github/** +- changed-files: + - any-glob-to-any-file: .github/** documentation: - - docs/*.* - - README.md - - CHANGELOG.md +- changed-files: + - any-glob-to-any-file: + - docs/*.* + - README.md + - CHANGELOG.md scripts: - - scripts/*.* \ No newline at end of file +- changed-files: + - any-glob-to-any-file: scripts/*.* \ No newline at end of file diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 445dccd9..e13ddf05 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -6,8 +6,11 @@ on: [pull_request_target] jobs: label: + permissions: + contents: read + pull-requests: write runs-on: windows-latest steps: - - uses: actions/labeler@v2 + - uses: actions/labeler@v5 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" \ No newline at end of file