Skip to content

Commit 27211d6

Browse files
committed
Bump labeler to v5.0.0 and update config
1 parent ea78ec4 commit 27211d6

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/labeler.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,15 @@ chore:
1212

1313
tests:
1414
- head-branch: ['^tests/', '^test/']
15-
- changed-files: '**/*_test.go'
15+
- changed-files:
16+
- any-glob-to-any-file: '**/*_test.go'
1617

1718
documentation:
1819
- head-branch: ['^docs/', '^doc/']
19-
- changed-files: '**/*.md'
20+
- changed-files:
21+
- any-glob-to-any-file: '**/*.md'
2022

2123
dependencies:
2224
- head-branch: ['^deps/', '^dep/', '^dependabot/']
23-
- changed-files: ['go.mod', 'go.sum']
25+
- changed-files:
26+
- any-glob-to-any-file: ['go.mod', 'go.sum']

.github/workflows/labeler.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
pull-requests: write
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)