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 5be009d commit 8457824
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 9 deletions.
36 changes: 27 additions & 9 deletions .github/labeler.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,45 @@
# Modules
":floppy_disk: account":
- modules/account/**/*
- changed-files:
- any-glob-to-any-file:
- modules/account/**/*

":floppy_disk: iam-group":
- modules/iam-group/**/*
- changed-files:
- any-glob-to-any-file:
- modules/iam-group/**/*

":floppy_disk: iam-oidc-identity-provider":
- modules/iam-oidc-identity-provider/**/*
- changed-files:
- any-glob-to-any-file:
- modules/iam-oidc-identity-provider/**/*

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

":floppy_disk: iam-predefined-policies":
- modules/iam-predefined-policies/**/*
- changed-files:
- any-glob-to-any-file:
- modules/iam-predefined-policies/**/*

":floppy_disk: iam-role":
- modules/iam-role/**/*
- changed-files:
- any-glob-to-any-file:
- modules/iam-role/**/*

":floppy_disk: iam-saml-identity-provider":
- modules/iam-saml-identity-provider/**/*
- changed-files:
- any-glob-to-any-file:
- modules/iam-saml-identity-provider/**/*

":floppy_disk: iam-user":
- modules/iam-user/**/*
- changed-files:
- any-glob-to-any-file:
- modules/iam-user/**/*

":floppy_disk: region":
- modules/region/**/*
- changed-files:
- any-glob-to-any-file:
- modules/region/**/*
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 8457824

Please sign in to comment.