Skip to content

Commit 0aba884

Browse files
committed
Fix labeler action
1 parent dc0c22e commit 0aba884

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

.github/labeler.yaml

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

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

812
":floppy_disk: sqs-aws-event-queue":
9-
- modules/sqs-aws-event-queue/**/*
13+
- changed-files:
14+
- any-glob-to-any-file:
15+
- modules/sqs-aws-event-queue/**/*

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