forked from flutter/flutter
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[github] Add labeler action (flutter#126012)
Part of flutter#126002 Migrate the [Cocoon logic for labelling](https://cs.opensource.google/flutter/cocoon/+/main:app_dart/lib/src/request_handlers/github/webhook_subscription.dart;l=352) directly into the repo under test
- Loading branch information
Casey Hillers
authored
May 9, 2023
1 parent
cab29b2
commit bf88f60
Showing
2 changed files
with
134 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,114 @@ | ||
# Copyright 2013 The Flutter Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
# See https://github.com/actions/labeler/blob/main/README.md for docs. | ||
'a: accessibility': | ||
- any: | ||
- accessibility | ||
- semantics | ||
|
||
'a: animation': | ||
- any: | ||
- animation | ||
|
||
'a: internationalization': | ||
- any: | ||
- packages/flutter_localizations/** | ||
|
||
'a: test': | ||
- any: | ||
- packages/flutter_driver/** | ||
- packages/flutter_goldens/** | ||
- packages/flutter_goldens_client/** | ||
- packages/flutter_test/** | ||
|
||
'a: text input': | ||
- any: | ||
- text | ||
|
||
'd: api docs': | ||
- any: | ||
- examples/api/** | ||
|
||
'd: examples': | ||
- any: | ||
- examples/** | ||
|
||
documentation: | ||
- any: | ||
- examples/api/** | ||
|
||
engine: | ||
- any: | ||
- bin/internal/engine.version | ||
|
||
'f: cupertino': | ||
- any: | ||
- cupertino | ||
|
||
'f: focus': | ||
- any: | ||
- focus | ||
|
||
'f: gestures': | ||
- any: | ||
- gestures | ||
|
||
'f: material': | ||
- any: | ||
- material | ||
|
||
'f: routes': | ||
- any: | ||
- navigator | ||
- route | ||
|
||
'f: scrolling': | ||
- any: | ||
- scroll | ||
- sliver | ||
- viewport | ||
|
||
framework: | ||
- any: | ||
- packages/flutter/** | ||
- packages/flutter_driver/** | ||
- packages/flutter_goldens/** | ||
- packages/flutter_goldens_client/** | ||
- packages/flutter_test/** | ||
- packages/integration_test/** | ||
|
||
integration_test: | ||
- any: | ||
- packages/integration_test/** | ||
|
||
platform-ios: | ||
- any: | ||
- packages/flutter_tools/lib/src/ios/** | ||
|
||
team: | ||
- any: | ||
- '**/pubspec.yaml' | ||
- '**/fix_data.yaml' | ||
- '**/*.expect' | ||
- '**/*test_fixes*' | ||
- dev/** | ||
- examples/** | ||
- packages/flutter_goldens/** | ||
- packages/flutter_goldens_client/** | ||
|
||
'team: gallery': | ||
- any: | ||
- examples/flutter_gallery/** | ||
|
||
tech-debt: | ||
- any: | ||
- '**/fix_data.yaml' | ||
- '**/*.expect' | ||
- '**/*test_fixes*' | ||
|
||
tool: | ||
- any: | ||
- packages/flutter_tools/** | ||
- packages/fuchsia_remote_debug_protocol/** |
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,20 @@ | ||
# Copyright 2013 The Flutter Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
name: "Pull Request Labeler" | ||
on: | ||
- pull_request_target | ||
|
||
# Declare default permissions as read only. | ||
permissions: read-all | ||
|
||
jobs: | ||
triage: | ||
if: ${{ github.repository == 'flutter/flutter' }} | ||
permissions: | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Source available at https://github.com/actions/labeler/blob/main/README.md | ||
- uses: actions/labeler@9471598e3b7ff22b2fa181bd79addf94cb3e0847 |