diff --git a/.github/labeler.yml b/.github/labeler.yml index f5d90427..5458eb88 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,8 +1,9 @@ documentation: -- doc/source/**/* +- changed-files: + - any-glob-to-any-file: ['doc/source/**/*'] maintenance: -- .github/**/* -- .flake8 -- pyproject.toml +- changed-files: + - any-glob-to-any-file: ['.github/**/*', '.flake8', 'pyproject.toml'] dependencies: -- requirements/* +- changed-files: + - any-glob-to-any-file: ['requirements/*'] diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index 2e974e9f..45076b50 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -32,10 +32,9 @@ jobs: # Label based on modified files - name: Label based on changed files - uses: actions/labeler@v4 + uses: actions/labeler@v5 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - sync-labels: '' # Label based on branch name - uses: actions-ecosystem/action-add-labels@v1