Skip to content

Commit

Permalink
Bump actions/labeler from 4 to 5 (#2548)
Browse files Browse the repository at this point in the history
* Bump actions/labeler from 4 to 5

Bumps [actions/labeler](https://github.com/actions/labeler) from 4 to 5.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](actions/labeler@v4...v5)

---
updated-dependencies:
- dependency-name: actions/labeler
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* adapting labeler to new API

* Adapting workflow

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: German <germanmartinezayuso@gmail.com>
  • Loading branch information
dependabot[bot] and germa89 authored Dec 7, 2023
1 parent 22b346a commit ad150f1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
23 changes: 11 additions & 12 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
Documentation:
- doc/source/**/*
- examples/**/*
- changed-files:
- any-glob-to-any-file: ['doc/source/**/*', 'examples/**/*']

Maintenance:
- .github/**/*
- codecov.yml
- .flake8
- .coveragerc
- ignore_words.txt
- pyproject.toml
- changed-files:
- any-glob-to-any-file: ['.github/**/*', 'codecov.yml', '.flake8', '.coveragerc', 'ignore_words.txt', 'pyproject.toml']

Dependencies:
- pyproject.toml
- changed-files:
- any-glob-to-any-file: ['pyproject.toml']

CI/CD:
- docker/**/*
- .github/**/*
- .ci/**/*
- changed-files:
- any-glob-to-any-file: ['docker/**/*', '.github/**/*', '.ci/**/*']
4 changes: 2 additions & 2 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ 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: ''
sync-labels: true

# Label based on branch name
- uses: actions-ecosystem/action-add-labels@v1
Expand Down

0 comments on commit ad150f1

Please sign in to comment.