mirror of
https://github.com/flutter/flutter
synced 2024-10-04 07:19:46 +00:00
Update labeler version, fix yaml to work with v5 (#139564)
This fixes https://github.com/flutter/flutter/issues/139511 * A bug has been fixed with `sync-labels`, meaning this needs to be a boolean now. Setting to `true` to match v4 logic. * in `labeler.yml`, all labels must be a list of globs, so updated them all to be a list of `any`. * Update the version to v5 This is a little annoying to test, since the way github actions works means that changes to workflows aren't run until after they are merged. A workaround is I forked these labeler changes to a new branch in my own repo and created a PR to merge to that branch, seen here: https://github.com/drewroengoogle/flutter/actions/runs/7102118110/job/19331743809?pr=2. Note the step `Run actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9` which ensures we are running on the latest labeler version in that check.
This commit is contained in:
parent
ea97fc4891
commit
a82ae2322d
125
.github/labeler.yml
vendored
125
.github/labeler.yml
vendored
|
@ -4,95 +4,116 @@
|
|||
|
||||
# See https://github.com/actions/labeler/blob/main/README.md for docs.
|
||||
'a: accessibility':
|
||||
- '**/accessibility/*'
|
||||
- '**/*accessibility*'
|
||||
- '**/semantics/*'
|
||||
- '**/*semantics*'
|
||||
- any:
|
||||
- '**/accessibility/*'
|
||||
- '**/*accessibility*'
|
||||
- '**/semantics/*'
|
||||
- '**/*semantics*'
|
||||
|
||||
'a: animation':
|
||||
- '**/animation/*'
|
||||
- '**/*animation*'
|
||||
- any:
|
||||
- '**/animation/*'
|
||||
- '**/*animation*'
|
||||
|
||||
'a: desktop':
|
||||
- '**/linux/**/*'
|
||||
- '**/macos/**/*'
|
||||
- '**/windows/**/*'
|
||||
- any:
|
||||
- '**/linux/**/*'
|
||||
- '**/macos/**/*'
|
||||
- '**/windows/**/*'
|
||||
|
||||
'a: internationalization':
|
||||
- packages/flutter_localizations/**/*
|
||||
- any:
|
||||
- packages/flutter_localizations/**/*
|
||||
|
||||
'a: tests':
|
||||
- packages/flutter_driver/**/*
|
||||
- packages/flutter_goldens/**/*
|
||||
- packages/flutter_goldens_client/**/*
|
||||
- packages/flutter_test/**/*
|
||||
- any:
|
||||
- packages/flutter_driver/**/*
|
||||
- packages/flutter_goldens/**/*
|
||||
- packages/flutter_goldens_client/**/*
|
||||
- packages/flutter_test/**/*
|
||||
|
||||
'a: text input':
|
||||
- '**/text/*'
|
||||
- '**/*text*'
|
||||
- any:
|
||||
- '**/text/*'
|
||||
- '**/*text*'
|
||||
|
||||
'd: api docs':
|
||||
- examples/api/**/*
|
||||
- any:
|
||||
- examples/api/**/*
|
||||
|
||||
'd: examples':
|
||||
- examples/**/*
|
||||
- any:
|
||||
- examples/**/*
|
||||
|
||||
engine:
|
||||
- bin/internal/engine.version
|
||||
- any:
|
||||
- bin/internal/engine.version
|
||||
|
||||
'f: cupertino':
|
||||
- '**/cupertino/*'
|
||||
- '**/*cupertino*'
|
||||
- any:
|
||||
- '**/cupertino/*'
|
||||
- '**/*cupertino*'
|
||||
|
||||
'f: focus':
|
||||
- '**/focus/*'
|
||||
- '**/*focus*'
|
||||
- any:
|
||||
- '**/focus/*'
|
||||
- '**/*focus*'
|
||||
|
||||
'f: gestures':
|
||||
- '**/gestures/*'
|
||||
- '**/*gestures*'
|
||||
- any:
|
||||
- '**/gestures/*'
|
||||
- '**/*gestures*'
|
||||
|
||||
'f: material design':
|
||||
- '**/material/*'
|
||||
- '**/*material*'
|
||||
- any:
|
||||
- '**/material/*'
|
||||
- '**/*material*'
|
||||
|
||||
'f: routes':
|
||||
- '**/navigator/*'
|
||||
- '**/*navigator*'
|
||||
- '**/route/*'
|
||||
- '**/*route*'
|
||||
- any:
|
||||
- '**/navigator/*'
|
||||
- '**/*navigator*'
|
||||
- '**/route/*'
|
||||
- '**/*route*'
|
||||
|
||||
'f: scrolling':
|
||||
- '**/*scroll*'
|
||||
- '**/scroll/*'
|
||||
- '**/*sliver*'
|
||||
- '**/sliver/*'
|
||||
- '**/*viewport*'
|
||||
- '**/viewport/*'
|
||||
- any:
|
||||
- '**/*scroll*'
|
||||
- '**/scroll/*'
|
||||
- '**/*sliver*'
|
||||
- '**/sliver/*'
|
||||
- '**/*viewport*'
|
||||
- '**/viewport/*'
|
||||
|
||||
framework:
|
||||
- packages/flutter/**/*
|
||||
- packages/flutter_driver/**/*
|
||||
- packages/flutter_goldens/**/*
|
||||
- packages/flutter_goldens_client/**/*
|
||||
- packages/flutter_test/**/*
|
||||
- packages/integration_test/**/*
|
||||
- examples/api/**/*
|
||||
- any:
|
||||
- packages/flutter/**/*
|
||||
- packages/flutter_driver/**/*
|
||||
- packages/flutter_goldens/**/*
|
||||
- packages/flutter_goldens_client/**/*
|
||||
- packages/flutter_test/**/*
|
||||
- packages/integration_test/**/*
|
||||
- examples/api/**/*
|
||||
|
||||
'f: integration_test':
|
||||
- packages/integration_test/**/*
|
||||
- any:
|
||||
- packages/integration_test/**/*
|
||||
|
||||
platform-ios:
|
||||
- packages/flutter_tools/lib/src/ios/**/*
|
||||
- any:
|
||||
- packages/flutter_tools/lib/src/ios/**/*
|
||||
|
||||
'customer: gallery':
|
||||
- examples/flutter_gallery/**/*
|
||||
- any:
|
||||
- examples/flutter_gallery/**/*
|
||||
|
||||
'c: tech-debt':
|
||||
- '**/fix_data.yaml'
|
||||
- '**/*.expect'
|
||||
- '**/*test_fixes*'
|
||||
- any:
|
||||
- '**/fix_data.yaml'
|
||||
- '**/*.expect'
|
||||
- '**/*test_fixes*'
|
||||
|
||||
tool:
|
||||
- packages/flutter_tools/**/*
|
||||
- packages/fuchsia_remote_debug_protocol/**/*
|
||||
- any:
|
||||
- packages/flutter_tools/**/*
|
||||
- packages/fuchsia_remote_debug_protocol/**/*
|
||||
|
|
4
.github/workflows/labeler.yml
vendored
4
.github/workflows/labeler.yml
vendored
|
@ -17,6 +17,6 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# Source available at https://github.com/actions/labeler/blob/main/README.md
|
||||
- uses: actions/labeler@ac9175f8a1f3625fd0d4fb234536d26811351594
|
||||
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9
|
||||
with:
|
||||
sync-labels: ''
|
||||
sync-labels: true
|
||||
|
|
Loading…
Reference in a new issue