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 4eb09a3 commit 435489e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 6 deletions.
24 changes: 18 additions & 6 deletions .github/labeler.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,30 @@
# Modules
":floppy_disk: nacl":
- modules/nacl/**/*
- changed-files:
- any-glob-to-any-file:
- modules/nacl/**/*

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

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

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

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

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

Please sign in to comment.