Skip to content

Commit e2a9cba

Browse files
chore(geral): aditionate labeler
1 parent ffa279b commit e2a9cba

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

.github/labeler.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
"component : spring-kafka-example":
2+
- changed-files:
3+
- any-glob-to-any-file: 'spring-kafka-example/**/*'
4+
5+
"type: dependency-upgrade":
6+
- changed-files:
7+
- any-glob-to-any-file: spring-kafka-example/pom.xml
8+
9+
"ci: github-actions":
10+
- changed-files:
11+
- any-glob-to-any-file: '.github/**/*'
12+
13+
"tool: renovate":
14+
- changed-files:
15+
- any-glob-to-any-file: 'renovate.json'

.github/workflows/label.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# This workflow will triage pull requests and apply a label based on the
2+
# paths that are modified in the pull request.
3+
#
4+
# To use this workflow, you will need to set up a .github/labeler.yml
5+
# file with configuration. For more information, see:
6+
# https://github.com/actions/labeler
7+
8+
name: Labeler
9+
on: [pull_request_target]
10+
11+
jobs:
12+
label:
13+
14+
runs-on: ubuntu-latest
15+
permissions:
16+
contents: read
17+
pull-requests: write
18+
19+
steps:
20+
- uses: actions/labeler@v5
21+
with:
22+
repo-token: "${{ secrets.GITHUB_TOKEN }}"
23+
sync-labels: true

0 commit comments

Comments
 (0)