Skip to content

Commit b2ea15e

Browse files
committed
Fix labeler action
1 parent d7acee0 commit b2ea15e

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/labeler.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# Modules
22
":floppy_disk: elasticache-redis-cluster":
3-
- modules/elasticache-redis-cluster/**/*
3+
- changed-files:
4+
- any-glob-to-any-file:
5+
- modules/elasticache-redis-cluster/**/*

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