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 ba569f0 commit d1b1dbf
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 8 deletions.
28 changes: 21 additions & 7 deletions .github/labeler.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,35 @@
# Modules
":floppy_disk: account":
- modules/account/**/*
- changed-files:
- any-glob-to-any-file:
- modules/account/**/*

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

":floppy_disk: organizational-unit":
- modules/organizational-unit/**/*
- changed-files:
- any-glob-to-any-file:
- modules/organizational-unit/**/*

":floppy_disk: ram-share":
- modules/ram-share/**/*
- changed-files:
- any-glob-to-any-file:
- modules/ram-share/**/*

":floppy_disk: sso-access-control-attributes":
- modules/sso-access-control-attributes/**/*
- changed-files:
- any-glob-to-any-file:
- modules/sso-access-control-attributes/**/*

":floppy_disk: sso-account-assignments":
- modules/sso-account-assignments/**/*
- changed-files:
- any-glob-to-any-file:
- modules/sso-account-assignments/**/*

":floppy_disk: sso-permission-set":
- modules/sso-permission-set/**/*
- changed-files:
- any-glob-to-any-file:
- modules/sso-permission-set/**/*
7 changes: 6 additions & 1 deletion .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@v4
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 d1b1dbf

Please sign in to comment.