Skip to content

Commit

Permalink
ci: update labeler
Browse files Browse the repository at this point in the history
  • Loading branch information
lotyp committed Sep 12, 2024
1 parent 37403d8 commit cae4a42
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
14 changes: 10 additions & 4 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,18 @@
# this file is for the labeler workflow job
# Documentation https://github.com/marketplace/actions/labeler

"type: bug":
- head-branch: ['^bug', '^fix', 'bug', 'fix']

"type: enhancement":
- head-branch: ['^feature', '^feat', 'feature']

"type: documentation":
- assets/**/*
- .github/*
- ./*.md
- changed-files:
- any-glob-to-any-file: ['assets/**/*', '.github/*.yml', './*.md']

"type: maintenance":
- .github/workflows/*
- changed-files:
- any-glob-to-any-file: ['.github/workflows/*']

...
6 changes: 4 additions & 2 deletions .github/workflows/apply-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@
# https://github.com/actions/labeler/blob/master/README.md

on: # yamllint disable-line rule:truthy
pull_request:
pull_request_target:
types:
- opened

name: 🏷️ Add labels

jobs:
label:
uses: wayofdev/gh-actions/.github/workflows/apply-labels.yml@master
uses: wayofdev/gh-actions/.github/workflows/apply-labels.yml@v3.2.0
with:
os: ubuntu-latest
secrets:
Expand Down

0 comments on commit cae4a42

Please sign in to comment.