Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Update labeler.yml to V5 syntax #762

Merged
merged 1 commit into from
Aug 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 29 additions & 17 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,42 +1,54 @@
# For reference, please look at https://github.com/actions/labeler

GitHub Actions:
- .github/**/*
- changed-files:
- any-glob-to-any-file: '.github/**/*'

Price addition:
- 'src/views/AddPriceHome.vue'
- 'src/views/AddPriceSingle.vue'
- 'src/views/AddPriceMultiple.vue'
- changed-files:
- any-glob-to-any-file: 'src/views/AddPriceHome.vue'
Copy link
Member

@raphodn raphodn Aug 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't it be 1 line with an array of values ? instead of 3 identical/overwritten? lines

https://github.com/actions/labeler#basic-examples

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it works with my syntax on other repos 🤷

- any-glob-to-any-file: 'src/views/AddPriceSingle.vue'
- any-glob-to-any-file: 'src/views/AddPriceMultiple.vue'

Brands:
- 'src/views/BrandDetail.vue'
- changed-files:
- any-glob-to-any-file: 'src/views/BrandDetail.vue'

📍 Locations:
- 'src/views/LocationList.vue'
- 'src/views/LocationDetail.vue'
📍 Locations::
- changed-files:
- any-glob-to-any-file: 'src/views/LocationList.vue'
- any-glob-to-any-file: 'src/views/LocationDetail.vue'

🥫 Product page:
- 'src/views/ProductList.vue'
- 'src/views/ProductDetail.vue'
- changed-files:
- any-glob-to-any-file: 'src/views/ProductList.vue'
- any-glob-to-any-file: 'src/views/ProductDetail.vue'

🔍 Search:
- 'src/views/Search.vue'
- changed-files:
- any-glob-to-any-file: 'src/views/Search.vue'

Stats:
- 'src/views/Stats.vue'
- changed-files:
- any-glob-to-any-file: 'src/views/Stats.vue'

User:
- 'src/views/UserList.vue'
- changed-files:
- any-glob-to-any-file: 'src/views/UserList.vue'
- 'src/views/UserDetail.vue'

User dashboard:
- 'src/views/UserDashboard*.vue'
- changed-files:
- any-glob-to-any-file: 'src/views/UserDashboard*.vue'

⚙️ Settings:
- 'src/views/UserSettings.vue'
- changed-files:
- any-glob-to-any-file: 'src/views/UserSettings.vue'

Action menus:
- 'src/components/*ActionMenuButton.vue'
- changed-files:
- any-glob-to-any-file: 'src/components/*ActionMenuButton.vue'

Translations:
- 'src/i18n/**/*'
- changed-files:
- any-glob-to-any-file: 'src/i18n/**/*'
Loading