Skip to content

Commit a9b157c

Browse files
committed
Fix labeler action
1 parent 88f406e commit a9b157c

File tree

2 files changed

+24
-5
lines changed

2 files changed

+24
-5
lines changed

.github/labeler.yaml

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,25 @@
11
# Modules
22
":floppy_disk: eventbridge-event-bus":
3-
- modules/eventbridge-event-bus/**/*
3+
- changed-files:
4+
- any-glob-to-any-file:
5+
- modules/eventbridge-event-bus/**/*
6+
47
":floppy_disk: eventbridge-rule":
5-
- modules/eventbridge-rule/**/*
8+
- changed-files:
9+
- any-glob-to-any-file:
10+
- modules/eventbridge-rule/**/*
11+
612
":floppy_disk: msk-cluster":
7-
- modules/msk-cluster/**/*
13+
- changed-files:
14+
- any-glob-to-any-file:
15+
- modules/msk-cluster/**/*
16+
817
":floppy_disk: sns-fifo-topic":
9-
- modules/sns-fifo-topic/**/*
18+
- changed-files:
19+
- any-glob-to-any-file:
20+
- modules/sns-fifo-topic/**/*
21+
1022
":floppy_disk: sns-standard-topic":
11-
- modules/sns-standard-topic/**/*
23+
- changed-files:
24+
- any-glob-to-any-file:
25+
- modules/sns-standard-topic/**/*

.github/workflows/pull-request-labeler.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,17 @@ jobs:
77
label-pr:
88
runs-on: ubuntu-latest
99

10+
permissions:
11+
contents: read
12+
pull-requests: write
13+
1014
steps:
1115
- name: Add Labels for PR
1216
uses: actions/labeler@v5
1317
with:
1418
repo-token: "${{ secrets.GITHUB_TOKEN }}"
1519
configuration-path: .github/labeler.yaml
20+
dot: true
1621
sync-labels: true
1722

1823
- name: Add PR Size Labels for PR

0 commit comments

Comments
 (0)