diff --git a/.github/labeler.yaml b/.github/labeler.yaml index dbedcba..3d5841e 100644 --- a/.github/labeler.yaml +++ b/.github/labeler.yaml @@ -1,12 +1,18 @@ docs: - - docs/**/* + - changed-files: + - any-glob-to-any-file: docs/**/* github: - - .github/**/* + - changed-files: + - any-glob-to-any-file: .github/**/* agents: - - template_langgraph/agents/**/* + - changed-files: + - any-glob-to-any-file: template_langgraph/agents/**/* llms: - - template_langgraph/llms/**/* + - changed-files: + - any-glob-to-any-file: template_langgraph/llms/**/* services: - - template_langgraph/services/**/* + - changed-files: + - any-glob-to-any-file: template_langgraph/services/**/* tools: - - template_langgraph/tools/**/* + - changed-files: + - any-glob-to-any-file: template_langgraph/tools/**/* diff --git a/.github/workflows/labeler.yaml b/.github/workflows/labeler.yaml index 8704729..1963b6f 100644 --- a/.github/workflows/labeler.yaml +++ b/.github/workflows/labeler.yaml @@ -1,14 +1,17 @@ name: labeler -on: [pull_request] +on: + - pull_request jobs: label: + permissions: + contents: read + pull-requests: write runs-on: ubuntu-latest - steps: - name: labeler action - uses: actions/labeler@v2 + uses: actions/labeler@v5 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" configuration-path: ".github/labeler.yaml"