diff --git a/.github/labeler.yml b/.github/labeler.yml index ff89293..de173e8 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,31 +1,31 @@ -# Add 'data' to any changes within '_data' folder or any subfolders data: - - _data/**/* + - changed-files: + - any-glob-to-any-file: "_data/**" -# Add 'schemas' to any changes within '_schemas' folder or any subfolders schemas: - - _schemas/**/* + - changed-files: + - any-glob-to-any-file: "_schemas/**" -# Add 'csharp' to any changes within 'csharp' folder or any subfolders csharp: - - csharp/**/* + - changed-files: + - any-glob-to-any-file: "csharp/**" -# Add 'java' to any changes within 'java' folder or any subfolders java: - - java/**/* + - changed-files: + - any-glob-to-any-file: "java/**" -# Add 'javascript' to any changes within 'javascript' folder or any subfolders javascript: - - javascript/**/* + - changed-files: + - any-glob-to-any-file: "javascript/**" -# Add 'php' to any changes within 'php' folder or any subfolders php: - - php/**/* + - changed-files: + - any-glob-to-any-file: "php/**" -# Add 'python' to any changes within 'python' folder or any subfolders python: - - python/**/* + - changed-files: + - any-glob-to-any-file: "python/**" -# Add 'rust' to any changes within 'rust' folder or any subfolders rust: - - rust/**/* + - changed-files: + - any-glob-to-any-file: "rust/**" diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 70115fb..9cdb111 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,12 +1,13 @@ name: "Pull Request Labeler" on: - - pull_request_target + - pull_request jobs: triage: runs-on: ubuntu-latest steps: - - uses: actions/labeler@main + - uses: actions/checkout@v4 + - uses: actions/labeler@v5 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" sync-labels: true