diff --git a/.github/labeler.yml b/.github/labeler.yml index 3997662..3e80754 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,11 +1,17 @@ documentation: - - docs/**/* + - changed-files: + - any-glob-to-any-file: + - docs/** dependencies: - - requirements.txt - - requirements-dev.txt - - pyproject.toml - - MANIFEST.in + - changed-files: + - any-glob-to-any-file: + - requirements.txt + - requirements-dev.txt + - pyproject.toml + - MANIFEST.in tests: - - tests/**/* + - changed-files: + - any-glob-to-any-file: + - tests/**/* diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 78accac..7262baf 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -11,11 +11,12 @@ concurrency: jobs: label: + name: "Label Pull Request" + runs-on: ubuntu-latest + permissions: contents: read pull-requests: write - runs-on: ubuntu-latest + steps: - uses: actions/labeler@v5 - with: - repo-token: "${{ secrets.GITHUB_TOKEN }}"