Skip to content

Commit 435489e

Browse files
committed
Fix labeler action
1 parent 4eb09a3 commit 435489e

File tree

2 files changed

+23
-6
lines changed

2 files changed

+23
-6
lines changed

.github/labeler.yaml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,30 @@
11
# Modules
22
":floppy_disk: nacl":
3-
- modules/nacl/**/*
3+
- changed-files:
4+
- any-glob-to-any-file:
5+
- modules/nacl/**/*
46

57
":floppy_disk: nat-gateway":
6-
- modules/nat-gateway/**/*
8+
- changed-files:
9+
- any-glob-to-any-file:
10+
- modules/nat-gateway/**/*
711

812
":floppy_disk: route-table":
9-
- modules/route-table/**/*
13+
- changed-files:
14+
- any-glob-to-any-file:
15+
- modules/route-table/**/*
1016

1117
":floppy_disk: security-group":
12-
- modules/security-group/**/*
18+
- changed-files:
19+
- any-glob-to-any-file:
20+
- modules/security-group/**/*
1321

1422
":floppy_disk: subnet-group":
15-
- modules/subnet-group/**/*
23+
- changed-files:
24+
- any-glob-to-any-file:
25+
- modules/subnet-group/**/*
1626

1727
":floppy_disk: vpc":
18-
- modules/vpc/**/*
28+
- changed-files:
29+
- any-glob-to-any-file:
30+
- modules/vpc/**/*

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