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 aa36363 commit 1658c07
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 6 deletions.
29 changes: 23 additions & 6 deletions .github/labeler.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,30 @@
# Modules
":floppy_disk: dns-firewall-domain-list":
- modules/dns-firewall-domain-list/**/*
- changed-files:
- any-glob-to-any-file:
- modules/dns-firewall-domain-list/**/*

":floppy_disk: dns-firewall-rule-group":
- modules/dns-firewall-rule-group/**/*
- changed-files:
- any-glob-to-any-file:
- modules/dns-firewall-rule-group/**/*

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

":floppy_disk: fms-dns-firewall-policy":
- modules/fms-dns-firewall-policy/**/*
- changed-files:
- any-glob-to-any-file:
- modules/fms-dns-firewall-policy/**/*

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

":floppy_disk: waf-ip-set":
- modules/waf-ip-set/**/*
- changed-files:
- any-glob-to-any-file:
- modules/waf-ip-set/**/*
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 1658c07

Please sign in to comment.