Skip to content

Commit 22238ff

Browse files
committed
Fix labeler action
1 parent 282ad9f commit 22238ff

File tree

2 files changed

+28
-6
lines changed

2 files changed

+28
-6
lines changed

.github/labeler.yaml

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,30 @@
11
# Modules
22
":floppy_disk: access-analyzer":
3-
- modules/access-analyzer/**/*
3+
- changed-files:
4+
- any-glob-to-any-file:
5+
- modules/access-analyzer/**/*
6+
47
":floppy_disk: cloudtrail-trail":
5-
- modules/cloudtrail-trail/**/*
8+
- changed-files:
9+
- any-glob-to-any-file:
10+
- modules/cloudtrail-trail/**/*
11+
612
":floppy_disk: cloudtrail-event-data-store":
7-
- modules/cloudtrail-event-data-store/**/*
13+
- changed-files:
14+
- any-glob-to-any-file:
15+
- modules/cloudtrail-event-data-store/**/*
16+
817
":floppy_disk: config-recorder":
9-
- modules/config-recorder/**/*
18+
- changed-files:
19+
- any-glob-to-any-file:
20+
- modules/config-recorder/**/*
21+
1022
":floppy_disk: config-managed-rule":
11-
- modules/config-managed-rule/**/*
23+
- changed-files:
24+
- any-glob-to-any-file:
25+
- modules/config-managed-rule/**/*
26+
1227
":floppy_disk: macie-account":
13-
- modules/macie-account/**/*
28+
- changed-files:
29+
- any-glob-to-any-file:
30+
- modules/macie-account/**/*

.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)