From 811efbacc329dcc2105228903b7fc1d18e00af22 Mon Sep 17 00:00:00 2001 From: Jeff Peiffer Date: Mon, 27 May 2024 14:48:50 -0400 Subject: [PATCH] Workflows --- .github/workflows/pull_request.yml | 6 ------ pubspec.yaml | 25 +++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index b9d6625..b8f09a9 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -5,12 +5,6 @@ on: pull_request: branches: [main] -permissions: - # Only need to read contents - contents: read - # Require writing security events to upload SARIF file to security tab - security-events: write - jobs: build: runs-on: ubuntu-latest diff --git a/pubspec.yaml b/pubspec.yaml index 04acd24..615df45 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -18,6 +18,31 @@ dev_dependencies: flutter_lints: '^4.0.0' test: '^1.25.5' +permittedLicenses: + - Apache-2.0 + - BSD-2-Clause + - BSD-3-Clause + - MIT + - MIT-Modern-Variant + - MPL-2.0 + - Zlib + +# The [license_checker](https://pub.dev/packages/license_checker) package cannot +# detect the built in Flutter packages because they aren't published to pub.dev +# and do not have a LICENSE file in their respective folders. So this section +# informs the license_checker that all the built in Flutter packages all have +# the same BSD-3-Clause license as Flutter itself. +packageLicenseOverride: + flutter: BSD-3-Clause + flutter_driver: BSD-3-Clause + flutter_goldens: BSD-3-Clause + flutter_localizations: BSD-3-Clause + flutter_web_plugins: BSD-3-Clause + flutter_test: BSD-3-Clause + fuchsia_remote_debug_protocol: BSD-3-Clause + integration_test: BSD-3-Clause + rxdart: Apache-2.0 + ignore_updates: - 'archive' - 'async'