Skip to content

Commit

Permalink
Fix labeler action
Browse files Browse the repository at this point in the history
  • Loading branch information
posquit0 committed May 26, 2024
1 parent a084c09 commit 009b794
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/labeler.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
# Modules
":floppy_disk: cloudwatch-log-group":
- modules/cloudwatch-log-group/**/*
- changed-files:
- any-glob-to-any-file:
- modules/cloudwatch-log-group/**/*

":floppy_disk: cloudwatch-log-policy":
- modules/cloudwatch-log-policy/**/*
- changed-files:
- any-glob-to-any-file:
- modules/cloudwatch-log-policy/**/*

":floppy_disk: cloudwatch-oam-link":
- modules/cloudwatch-oam-link/**/*
- changed-files:
- any-glob-to-any-file:
- modules/cloudwatch-oam-link/**/*

":floppy_disk: cloudwatch-oam-sink":
- modules/cloudwatch-oam-sink/**/*
- changed-files:
- any-glob-to-any-file:
- modules/cloudwatch-oam-sink/**/*
5 changes: 5 additions & 0 deletions .github/workflows/pull-request-labeler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,17 @@ jobs:
label-pr:
runs-on: ubuntu-latest

permissions:
contents: read
pull-requests: write

steps:
- name: Add Labels for PR
uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/labeler.yaml
dot: true
sync-labels: true

- name: Add PR Size Labels for PR
Expand Down

0 comments on commit 009b794

Please sign in to comment.