Skip to content

Commit

Permalink
maint: update actions/labeler (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
clatapie authored Jan 2, 2024
1 parent ecd3dcc commit 285e2c2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 11 deletions.
26 changes: 17 additions & 9 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
Documentation:
- doc/source/**/*
- changed-files:
- any-glob-to-any-file:
- 'doc/source/**/*'
Maintenance:
- .github/**/*
- codecov.yml
- .flake8
- .coveragerc
- doc/styles/**/*
- pyproject.toml
- changed-files:
- any-glob-to-any-file:
- '.github/**/*'
- 'codecov.yml'
- '.flake8'
- '.coveragerc'
- 'doc/styles/**/*'
- 'pyproject.toml'
Dependencies:
- pyproject.toml
- changed-files:
- any-glob-to-any-file:
- 'pyproject.toml'
CI/CD:
- .github/**/*
- changed-files:
- any-glob-to-any-file:
- '.github/**/*'
3 changes: 1 addition & 2 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Labeler
on:
pull_request:
types: [opened, reopened]
push:
branches: [ main ]
paths:
Expand Down Expand Up @@ -36,7 +35,7 @@ jobs:
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 285e2c2

Please sign in to comment.