Skip to content

Commit

Permalink
Add Labeler Github Action (flutter#3433)
Browse files Browse the repository at this point in the history
  • Loading branch information
bparrishMines committed Jan 20, 2021
1 parent 172338d commit bea4b14
Show file tree
Hide file tree
Showing 2 changed files with 106 additions and 0 deletions.
86 changes: 86 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
'p: android_alarm_manager':
- packages/android_alarm_manager/**/*

'p: android_intent':
- packages/android_intent/**/*

'p: battery':
- packages/battery/**/*

'p: camera':
- packages/camera/**/*

'p: connectivity':
- packages/connectivity/**/*

'p: cross_file':
- packages/cross_file/**/*

'p: device_info':
- packages/device_info/**/*

'p: e2e':
- packages/e2e/**/*

'p: espresso':
- packages/espresso/**/*

'p: file_selector':
- packages/file_selector/**/*

'p: flutter_plugin_android_lifecycle':
- packages/flutter_plugin_android_lifecycle/**/*

'p: google_maps_flutter':
- packages/google_maps_flutter/**/*

'p: google_sign_in':
- packages/google_sign_in/**/*

'p: image_picker':
- packages/image_picker/**/*

'p: in_app_purchase':
- packages/in_app_purchase/**/*

'p: integration_test':
- packages/integration_test/**/*

'p: ios_platform_images':
- packages/ios_platform_images/**/*

'p: local_auth':
- packages/local_auth/**/*

'p: package_info':
- packages/package_info/**/*

'p: path_provider':
- packages/path_provider/**/*

'p: plugin_platform_interface':
- packages/plugin_platform_interface/**/*

'p: quick_actions':
- packages/quick_actions/**/*

'p: sensors':
- packages/sensors/**/*

'p: share':
- packages/share/**/*

'p: shared_preferences':
- packages/shared_preferences/**/*

'p: url_launcher':
- packages/url_launcher/**/*

'p: video_player':
- packages/video_player/**/*

'p: webview_flutter':
- packages/webview_flutter/**/*

'p: wifi_info_flutter':
- packages/wifi_info_flutter/**/*
20 changes: 20 additions & 0 deletions .github/workflows/pull_request_label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# This workflow applies labels to pull requests based on the
# paths that are modified in the pull request.
#
# Edit `.github/labeler.yml` to configure labels.
#
# For more information, see: https://github.com/actions/labeler

name: Pull Request Labeler

on:
- pull_request_target

jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@main
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true

0 comments on commit bea4b14

Please sign in to comment.