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 ecd1caf commit bbd386b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 5 deletions.
24 changes: 19 additions & 5 deletions .github/labeler.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,25 @@
# Modules
":floppy_disk: kms-key":
- modules/kms-key/**/*
- changed-files:
- any-glob-to-any-file:
- modules/kms-key/**/*

":floppy_disk: secrets-manager-secret":
- modules/secrets-manager-secret/**/*
- changed-files:
- any-glob-to-any-file:
- modules/secrets-manager-secret/**/*

":floppy_disk: ssm-parameter-store-parameter":
- modules/ssm-parameter-store-parameter/**/*
- changed-files:
- any-glob-to-any-file:
- modules/ssm-parameter-store-parameter/**/*

":floppy_disk: ssm-parameter-store-parameter-set":
- modules/ssm-parameter-store-parameter-set/**/*
- changed-files:
- any-glob-to-any-file:
- modules/ssm-parameter-store-parameter-set/**/*

":floppy_disk: ssm-parameter-store-settings":
- modules/ssm-parameter-store-settings/**/*
- changed-files:
- any-glob-to-any-file:
- modules/ssm-parameter-store-settings/**/*
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 bbd386b

Please sign in to comment.