Skip to content

Commit b0c23f6

Browse files
authored
Bump labeler to v5.0.0 and update config (#459)
1 parent fedf456 commit b0c23f6

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

.github/labeler.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,20 @@ chore:
1111
- head-branch: ['^chore/']
1212

1313
tests:
14-
- any:
15-
- head-branch: ['^tests/', '^test/']
16-
- changed-files: ['tests/**/*']
17-
- all:
18-
- changed-files: ['!tests/requirements.txt']
14+
- any:
15+
- head-branch: ['^tests/', '^test/']
16+
- changed-files:
17+
- any-glob-to-any-file: 'tests/**/*'
18+
- all:
19+
- changed-files:
20+
- all-globs-to-all-files: ['!tests/requirements.txt']
1921

2022
documentation:
2123
- head-branch: ['^docs/', '^doc/']
22-
- changed-files: '**/*.md'
24+
- changed-files:
25+
- any-glob-to-any-file: '**/*.md'
2326

2427
dependencies:
25-
- head-branch: ['^deps/', '^dep/', '^dependabot/']
26-
- changed-files: ['go.mod', 'go.sum']
28+
- head-branch: ['^deps/', '^dep/', '^dependabot/', 'pre-commit-ci-update-config']
29+
- changed-files:
30+
- any-glob-to-any-file: ['go.mod', 'go.sum']

.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
pull-requests: write # for actions/labeler to add labels
1313
runs-on: ubuntu-22.04
1414
steps:
15-
- uses: actions/labeler@4f052778de9a9b80cb16cfb9079b02287285a4cb # v5.0.0-alpha.1
15+
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
1616
with:
1717
repo-token: "${{ secrets.GITHUB_TOKEN }}"
1818
sync-labels: true

0 commit comments

Comments
 (0)