-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add automatically labels to pull requests based on the changed file p…
…aths (#229) ## Description Finding pull requests with GitHub can be hard. Especially when our app has a bug and we try to find the pull request which caused the bug, might it be helpful to labels, like `platform: android` when we know it something with the Android build or changes to our CI/CD with the label `ci/cd`. Therefore, I added the `labeler` Action to automatically add labels to our pull requests based on the changed file paths.
- Loading branch information
1 parent
2dbcf67
commit f4b7443
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Copyright (c) 2022 Sharezone UG (haftungsbeschränkt) | ||
# Licensed under the EUPL-1.2-or-later. | ||
# | ||
# You may obtain a copy of the Licence at: | ||
# https://joinup.ec.europa.eu/software/page/eupl | ||
# | ||
# SPDX-License-Identifier: EUPL-1.2 | ||
|
||
"ci/cd": | ||
- .github/workflows/** | ||
- .github/labeler.yml | ||
|
||
"documentation": | ||
- '**/*.md' | ||
|
||
"testing": | ||
- "**/*_test.dart" | ||
|
||
"platform: android": | ||
- 'app/android/**' | ||
|
||
"platform: ios": | ||
- 'app/ios/**' | ||
|
||
"platform: macos": | ||
- 'app/macos/**' | ||
|
||
"platform: web": | ||
- 'app/web/**' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters