Skip to content

Commit

Permalink
Update label.yml and labeler.yml to fix breaking changes in V5 (#108)
Browse files Browse the repository at this point in the history
* Update label.yml and labeler.yml to fix breaking changes in V5

* Update label.yml
  • Loading branch information
tkoyama010 authored Jan 1, 2024
1 parent 53f3c79 commit af19768
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 18 deletions.
36 changes: 21 additions & 15 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
documentation:
- doc/**/*
- examples/**/*
- ./*.md
- ./*.rst
- any:
- changed-files:
- any-glob-to-any-file: 'doc/**/*'
- any-glob-to-any-file: 'examples/**/*'
- any-glob-to-any-file: './*.md'
- any-glob-to-any-file: './*.rst'
maintenance:
- .github/**/*
- codecov.yml
- .flake8
- .coveragerc
- .codecimate.yml
- ignore_words.txt
- mypy.ini
- pyproject.toml
- setup.py
- any:
- changed-files:
- any-glob-to-any-file: '.github/**/*'
- any-glob-to-any-file: 'codecov.yml'
- any-glob-to-any-file: '.flake8'
- any-glob-to-any-file: '.coveragerc'
- any-glob-to-any-file: '.codecimate.yml'
- any-glob-to-any-file: 'ignore_words.txt'
- any-glob-to-any-file: 'mypy.ini'
- any-glob-to-any-file: 'pyproject.toml'
- any-glob-to-any-file: 'setup.py'
dependencies:
- requirements*
- environment.yml
- any:
- changed-files:
- any-glob-to-any-file: 'requirements*'
- any-glob-to-any-file: 'environment.yml'
4 changes: 1 addition & 3 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ jobs:
uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
# https://github.com/actions/labeler/issues/112#issuecomment-1000491676
sync-labels: ''

# Label based on branch name
- uses: actions-ecosystem/action-add-labels@v1
Expand Down Expand Up @@ -46,4 +44,4 @@ jobs:
- uses: actions-ecosystem/action-add-labels@v1
if: startsWith(github.event.pull_request.head.ref, 'breaking-change')
with:
labels: breaking-change
labels: breaking-change

0 comments on commit af19768

Please sign in to comment.