Skip to content

Commit

Permalink
Fix labeling for v5
Browse files Browse the repository at this point in the history
* Update label_pull_requests.yml

* Update label_pull_requests.yml

* Update labeler.yml
  • Loading branch information
guidezpl authored Mar 1, 2024
1 parent 50a0309 commit ab8f361
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
18 changes: 12 additions & 6 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
# See .github/workflow/label_pull_requests.yml

'p: google_fonts':
- packages/google_fonts/**/*
- changed-files:
- any-glob-to-any-file: packages/google_fonts/**

'p: dynamic_color':
- packages/dynamic_color/**/*
- changed-files:
- any-glob-to-any-file: packages/dynamic_color/**

'p: adaptive_breakpoints':
- packages/adaptive_breakpoints/**/*
- changed-files:
- any-glob-to-any-file: packages/adaptive_breakpoints/**

'p: adaptive_navigation':
- packages/adaptive_navigation/**/*
- changed-files:
- any-glob-to-any-file: packages/adaptive_navigation/**

'p: adaptive_components':
- packages/adaptive_components/**/*
- changed-files:
- any-glob-to-any-file: packages/adaptive_components/**

'p: symbols':
- packages/symbols/**/*
- changed-files:
- any-glob-to-any-file: packages/symbols/**
7 changes: 2 additions & 5 deletions .github/workflows/label_pull_requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,12 @@
name: Label pull request

on:
pull_request_target:
types: [opened]

# Declare default permissions as read only.
permissions: read-all
- pull_request

jobs:
label:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit ab8f361

Please sign in to comment.