Skip to content

Commit 06bc819

Browse files
committed
ci: update labeler workflow
1 parent 3820b49 commit 06bc819

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

.github/labeler.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,18 @@
33
# this file is for the labeler workflow job
44
# Documentation https://github.com/marketplace/actions/labeler
55

6-
'type: documentation':
7-
- assets/**/*
8-
- .github/*
9-
- ./*.md
10-
11-
'type: maintenance':
12-
- .github/**/*
13-
- tests/**/*
6+
"type: bug":
7+
- head-branch: ['^bug', '^fix', 'bug', 'fix']
8+
9+
"type: enhancement":
10+
- head-branch: ['^feature', '^feat', 'feature']
11+
12+
"type: documentation":
13+
- changed-files:
14+
- any-glob-to-any-file: ['assets/**/*', '.github/*', './*.md']
15+
16+
"type: maintenance":
17+
- changed-files:
18+
- any-glob-to-any-file: ['tests/**/*', '.github/workflows/*']
1419

1520
...

.github/workflows/apply-labels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ name: 🏷️ Add labels
1414

1515
jobs:
1616
label:
17-
uses: wayofdev/gh-actions/.github/workflows/apply-labels.yml@master
17+
uses: wayofdev/gh-actions/.github/workflows/apply-labels.yml@v3.1.0
1818
with:
1919
os: ubuntu-latest
2020
secrets:

0 commit comments

Comments
 (0)